app/controllers/manifest/content_blocks_controller.rb in manifest-rails-0.0.1 vs app/controllers/manifest/content_blocks_controller.rb in manifest-rails-0.0.2
- old
+ new
@@ -1,8 +1,9 @@
class Manifest::ContentBlocksController < Manifest::ManifestController
before_filter :authorize
+ before_filter :authorize_admin, except: [:index, :edit, :update]
- layout 'manifest'
+ layout 'manifest/manifest'
def index
@content_blocks = ContentBlock.all
end