aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/admin/posts_controller.rb
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2012-06-27 22:29:31 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2012-06-27 22:29:31 +0300
commit8b1d10fab257d8a0ce7230f27a530dd7f8140acc (patch)
treea51bffee0dd234df9c823257d9c7bf3a02c92fd6 /app/controllers/refinery/blog/admin/posts_controller.rb
parentfc97c846689d545a2b3844c8f9810eda129c8803 (diff)
downloadrefinerycms-blog-8b1d10fab257d8a0ce7230f27a530dd7f8140acc.tar.gz
refinerycms-blog-8b1d10fab257d8a0ce7230f27a530dd7f8140acc.tar.bz2
refinerycms-blog-8b1d10fab257d8a0ce7230f27a530dd7f8140acc.zip
Use shorter syntax of render where possible.
Diffstat (limited to 'app/controllers/refinery/blog/admin/posts_controller.rb')
-rw-r--r--app/controllers/refinery/blog/admin/posts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/refinery/blog/admin/posts_controller.rb b/app/controllers/refinery/blog/admin/posts_controller.rb
index e48c00d..cbde2f8 100644
--- a/app/controllers/refinery/blog/admin/posts_controller.rb
+++ b/app/controllers/refinery/blog/admin/posts_controller.rb
@@ -66,7 +66,7 @@ module Refinery
end
else
unless request.xhr?
- render :action => 'new'
+ render :new
else
render :partial => "/refinery/admin/error_messages",
:locals => {