Permalink
Browse files

Fix layout bug

  • Loading branch information...
1 parent 3d8e345 commit 4962c74ee7d60e9225083384d073d4891d9b368b @ryanstout committed Jun 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/blog_posts_controller.rb
@@ -129,7 +129,7 @@ def require_admin
end
def choose_layout
- if ['new', 'edit'].include?(params[:action])
+ if ['new', 'edit', 'create', 'update'].include?(params[:action])
BlogKit.instance.settings['admin_layout'] || 'application'
else
BlogKit.instance.settings['layout'] || 'application'

0 comments on commit 4962c74

Please sign in to comment.