Open KES777 opened 5 years ago
Improve link_to helper
This changes are useful because we don't have to change the call from link_to to link_to + url_for
link_to Home => 'index' => {format => 'txt'} => [ query => 'value' ]
Instead of:
link_to Home => url_for( 'index' => {format => 'txt'} ) ->query([ query => 'value' ]);
I think this seems like a useful shortcut. 👍
Summary
Improve link_to helper
Motivation
This changes are useful because we don't have to change the call from link_to to link_to + url_for
Instead of: