announcement widget query

This commit is contained in:
unknown committed 2012-01-18 21:34:26 +08:00
1 parent 3e912b6262
commit 4cfae9c107
10 files changed
+141 -44

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ class ApplicationController < ActionController::Base
def front_end_available(module_app_title='')
app_controller = ModuleApp.first(conditions: {:title => module_app_title} )
unless app_controller.enable_frontend?
render :nothing
render :nothing => true
end
end