Add via: :get to routes.rb