Forgot to change title in key in pages_controller
This commit is contained in:
parent
8f885e8bb7
commit
872a00b6a2
|
@ -37,7 +37,7 @@ class PagesController < ApplicationController
|
|||
protected
|
||||
|
||||
def get_item
|
||||
module_app = ModuleApp.first(:conditions => {:title => params[:app_name]})
|
||||
module_app = ModuleApp.first(:conditions => {:key => params[:app_name]})
|
||||
@item = Item.first(:conditions => {:module_app_id => module_app.id, :app_frontend_url => params[:app_action]})
|
||||
end
|
||||
|
||||
|
|
Reference in New Issue