Changed inherited controller in module_apps to OrbitBackendController

This commit is contained in:
Christophe Vilayphiou committed 2012-03-27 18:58:04 +08:00
1 parent d02bbdbaa5
commit cf297fc424
7 files changed
+4 -16

No files matched your search

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