Rails 4 Compatible Routes

Added ```:via => :get``` to the routes to make them compatible with rails 4