<%= link_to 'Foo',
{:contoller => 'bar',
:id => 'baz.id' %>
}
There is no consensus amongst my peers as how this should be indented. I'd like to know myself so that I am not writing code the wrong way.
<%= link_to 'Foo',
{:contoller => 'bar',
:id => 'baz.id' %>
}
There is no consensus amongst my peers as how this should be indented. I'd like to know myself so that I am not writing code the wrong way.
<%= link_to 'Foo', use_named_routes_for_crying_out_loud, id: baz.id %>