fix from messy search

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-07-09 16:48:23 +08:00
1 parent 09d46f2f75
commit 773371e885
3 files changed
+4 -3

No files matched your search

+1
View File
@@ -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