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