announcement widget query
This commit is contained in:
1 parent
3e912b6262
commit
4cfae9c107
10 files changed
+141
-44
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user