config/routes.rb in contact_us-0.4.0 vs config/routes.rb in contact_us-0.5.0
- old
+ new
@@ -1,6 +1,6 @@
Rails.application.routes.draw do
resources :contacts,
:controller => 'contact_us/contacts',
:only => [:new, :create]
- match 'contact-us' => 'contact_us/contacts#new', :as => :contact_us
+ get 'contact-us' => 'contact_us/contacts#new', :as => :contact_us
end