Changed inherited controller in module_apps to OrbitBackendController

This commit is contained in:
Christophe Vilayphiou 2012-03-27 18:04:09 +08:00
parent d02bbdbaa5
commit cf297fc424
7 changed files with 4 additions and 16 deletions

View File

@ -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]

View File

@ -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')

View File

@ -1,5 +1,4 @@
class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController
layout 'new_admin'
before_filter :authenticate_user!
before_filter :is_admin?

View File

@ -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

View File

@ -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?

View File

@ -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

View File

@ -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?