fixes #13895 - replace :to with :action in routes
Using :to with a string that doesn't contain # is deprecated sinceRails 4.2, and it should instead use :action or :controller asappropriate.
http://edgeguides.rubyonrails.org/4_2_release_notes.html#action-pack-deprecations
fixes #13895 - replace :to with :action in routes
Using :to with a string that doesn't contain # is deprecated since
Rails 4.2, and it should instead use :action or :controller as
appropriate.
http://edgeguides.rubyonrails.org/4_2_release_notes.html#action-pack-deprecations