I'm trying to create a block of ruby code for when a user clicks on the back button. I'm getting the error "undefined method `stringify_keys' for "/projects/11/steps/4":String". The code works when I get rid of the do and end. How do I add a do to a link_to?
<%= link_to 'Back', project_step_path(@project, @project.steps.count-1), :class => "btn btn-small" do %>
<% end %>