Change NewBlog to new_blog
This commit is contained in:
1 parent
79f778ad8c
commit
cae3daa9c4
96 files changed
+133
-65
No files matched your search
@@ -9,12 +9,12 @@ 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 :text => 'View not available'
|
||||
render :nothing
|
||||
end
|
||||
end
|
||||
|
||||
def get_all_app_engines
|
||||
ary = ["vender/plugins/NewBlog"]
|
||||
ary = ["vender/plugins/new_blog"]
|
||||
app_engines = ary.collect{|t|
|
||||
Rails::Engine.find t
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user