fix from messy search
This commit is contained in:
1 parent
09d46f2f75
commit
773371e885
3 files changed
+4
-3
No files matched your search
@@ -60,6 +60,7 @@ class PagesController < ApplicationController
|
||||
def get_item
|
||||
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]})
|
||||
#TODO 需要做 error handler 處理沒有新增該模組頁面導致錯誤的可能性
|
||||
end
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user