Changed inherited controller in module_apps to OrbitBackendController
This commit is contained in:
parent
d02bbdbaa5
commit
cf297fc424
|
@ -6,7 +6,7 @@ class OrbitBackendController< ApplicationController
|
|||
include OrbitCoreLib::PermissionUnility
|
||||
include AdminHelper
|
||||
|
||||
layout 'admin'
|
||||
layout 'new_admin'
|
||||
|
||||
def setup_vars
|
||||
@app_title = request.fullpath.split('/')[2]
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
class Panel::Announcement::BackEnd::BulletinCategorysController < OrbitBackendController
|
||||
|
||||
layout 'new_admin'
|
||||
|
||||
def index
|
||||
@bulletin_categorys = BulletinCategory.all
|
||||
@bulletin_category = BulletinCategory.new(:display => 'List')
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController
|
||||
layout 'new_admin'
|
||||
|
||||
before_filter :authenticate_user!
|
||||
before_filter :is_admin?
|
||||
|
|
|
@ -2,7 +2,6 @@ class Panel::Announcement::BackEnd::FactChecksController < OrbitBackendControll
|
|||
before_filter :authenticate_user!
|
||||
include AdminHelper
|
||||
# layout 'admin'
|
||||
layout 'new_admin'
|
||||
|
||||
def setting
|
||||
@bulletin_categorys = BulletinCategory.all
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
class Panel::PageContent::BackEnd::PageContextsController < ApplicationController
|
||||
|
||||
|
||||
layout 'new_admin'
|
||||
class Panel::PageContent::BackEnd::PageContextsController < OrbitBackendController
|
||||
|
||||
before_filter :authenticate_user!
|
||||
before_filter :is_admin?
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
class Panel::WebResource::BackEnd::WebLinkCategorysController < ApplicationController
|
||||
|
||||
layout 'new_admin'
|
||||
class Panel::WebResource::BackEnd::WebLinkCategorysController < OrbitBackendController
|
||||
|
||||
def index
|
||||
@web_link_categorys = WebLinkCategory.all
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
class Panel::WebResource::BackEnd::WebLinksController < ApplicationController
|
||||
|
||||
|
||||
layout 'new_admin'
|
||||
class Panel::WebResource::BackEnd::WebLinksController < OrbitBackendController
|
||||
|
||||
before_filter :authenticate_user!
|
||||
before_filter :is_admin?
|
||||
|
|
Loading…
Reference in New Issue