Merge pull request #131 from wakeless/rails-3-1
Fix for ::Refinery::AdminController
This commit is contained in:
commit
cc3be37a41
4 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
module Refinery
|
module Refinery
|
||||||
module Admin
|
module Admin
|
||||||
module Blog
|
module Blog
|
||||||
class CategoriesController < ::Admin::BaseController
|
class CategoriesController < ::Refinery::AdminController
|
||||||
|
|
||||||
crudify :'refinery/blog_category',
|
crudify :'refinery/blog_category',
|
||||||
:title_attribute => :title,
|
:title_attribute => :title,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module Refinery
|
module Refinery
|
||||||
module Admin
|
module Admin
|
||||||
module Blog
|
module Blog
|
||||||
class CommentsController < ::Admin::BaseController
|
class CommentsController < ::Refinery::AdminController
|
||||||
|
|
||||||
cache_sweeper Refinery::BlogSweeper
|
cache_sweeper Refinery::BlogSweeper
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module Refinery
|
module Refinery
|
||||||
module Admin
|
module Admin
|
||||||
module Blog
|
module Blog
|
||||||
class PostsController < ::Admin::BaseController
|
class PostsController < ::Refinery::AdminController
|
||||||
|
|
||||||
cache_sweeper Refinery::BlogSweeper
|
cache_sweeper Refinery::BlogSweeper
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module Refinery
|
module Refinery
|
||||||
module Admin
|
module Admin
|
||||||
module Blog
|
module Blog
|
||||||
class SettingsController < ::Admin::BaseController
|
class SettingsController < ::Refinery::AdminController
|
||||||
|
|
||||||
def notification_recipients
|
def notification_recipients
|
||||||
@recipients = Refinery::BlogComment::Notification.recipients
|
@recipients = Refinery::BlogComment::Notification.recipients
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue