aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2012-07-06 15:30:12 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2012-07-06 15:30:12 +0300
commit93da90f9093ac0c8262905b4ba24d63e2cd95620 (patch)
treed38dca339dbec28a1d728b06b6722df4a616bad3
parent8eb3dbea76273a4174ba8f61920f9c3883e3ce0c (diff)
downloadrefinerycms-blog-93da90f9093ac0c8262905b4ba24d63e2cd95620.tar.gz
refinerycms-blog-93da90f9093ac0c8262905b4ba24d63e2cd95620.tar.bz2
refinerycms-blog-93da90f9093ac0c8262905b4ba24d63e2cd95620.zip
Shorten render call.
-rw-r--r--app/views/refinery/blog/admin/_submenu.html.erb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/refinery/blog/admin/_submenu.html.erb b/app/views/refinery/blog/admin/_submenu.html.erb
index ba34188..3de05e5 100644
--- a/app/views/refinery/blog/admin/_submenu.html.erb
+++ b/app/views/refinery/blog/admin/_submenu.html.erb
@@ -1,10 +1,7 @@
<nav id='actions' class='multilist'>
<ul class='search_list'>
<li class='not_a_link'>
- <%= render :partial => "/refinery/admin/search",
- :locals => {
- :url => refinery.blog_admin_posts_path
- } %>
+ <%= render "/refinery/admin/search", :url => refinery.blog_admin_posts_path %>
</li>
</ul>