Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #27 from nashby/patch-1

view cleanup
  • Loading branch information...
commit ea8e7010ae33cc9ded4e9b0480d385d0f6d3ad1a 2 parents 5bda7e9 + b5f945e
Charles Barbier authored May 02, 2012
2  app/views/refinery/copywriting/admin/phrases/edit.html.erb
... ...
@@ -1 +1 @@
1  
-<%= render :partial => "form" %>
  1
+<%= render "form" %>
6  app/views/refinery/copywriting/admin/phrases/index.html.erb
... ...
@@ -1,10 +1,10 @@
1 1
 <section id='records'>
2  
-  <%= render :partial => 'records' %>
  2
+  <%= render 'records' %>
3 3
 </section>
4 4
 <aside id='actions'>
5  
-  <%= render :partial => 'actions' %>
  5
+  <%= render 'actions' %>
6 6
 </aside>
7 7
 
8 8
 <% content_for :stylesheets do %>
9 9
   <%= stylesheet_link_tag 'refinerycms-copywriting' %>
10  
-<% end %>
  10
+<% end %>
2  app/views/refinery/pages/admin/tabs/_copywriting.html.erb
@@ -5,7 +5,7 @@
5 5
       <% copywriting_phrases.each do |phrase| %>
6 6
         <li>
7 7
           <%= f.fields_for :copywriting_phrases, phrase do |p| %>
8  
-            <%= render :partial => 'refinery/copywriting/admin/phrases/value_field', :locals => {:f => p} %>
  8
+            <%= render 'refinery/copywriting/admin/phrases/value_field', :f => p %>
9 9
           <% end %>
10 10
         </li>
11 11
       <% end %>

0 notes on commit ea8e701

Please sign in to comment.
Something went wrong with that request. Please try again.