Modify assets

Each layout has a manifest for css and js
This commit is contained in:
chris2tof committed 2011-12-05 09:54:41 +08:00
1 parent a0ec38ca99
commit 75a3c4d5b1
42 files changed
+571 -1488

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
class Admin::ItemsController < ApplicationController
layout "content"
layout "site_editor"
before_filter :authenticate_user!
before_filter :find_parent_item
+1 -1
View File
@@ -1,6 +1,6 @@
class Admin::LinksController < ApplicationController
layout "content"
layout "site_editor"
before_filter :authenticate_user!
before_filter :find_parent_item
@@ -1,6 +1,6 @@
class Admin::PagePartsController < ApplicationController
layout "content"
layout "site_editor"
before_filter :authenticate_user!
before_filter :is_admin?
+1 -1
View File
@@ -1,6 +1,6 @@
class Admin::PagesController < ApplicationController
layout "content"
layout "site_editor"
before_filter :authenticate_user!
before_filter :find_parent_item
@@ -1,6 +1,6 @@
class Admin::UserAttributesController < ApplicationController
layout "member"
layout "admin"
before_filter :authenticate_user!
def index
@@ -1,6 +1,6 @@
class Admin::UserInfoModelsController < ApplicationController
layout "member"
layout "admin"
before_filter :authenticate_user!
before_filter :is_admin?
before_filter :set_attribute, :only => [:index, :show, :new, :edit]
@@ -1,6 +1,6 @@
class Admin::UserRoleModelsController < ApplicationController
layout "member"
layout "admin"
before_filter :authenticate_user!
before_filter :is_admin?
before_filter :set_attribute, :only => [:index, :show, :new, :edit]
+1 -1
View File
@@ -1,6 +1,6 @@
class Admin::UsersController < ApplicationController
layout "member"
layout "admin"
before_filter :authenticate_user!
def index