Sha256: bfd5f2aa2709016d5270961f57d0b6d3098710d08a0e3612fd639859b3324de1
Contents?: true
Size: 433 Bytes
Versions: 9
Compression:
Stored size: 433 Bytes
Contents
Rails.application.routes.draw do namespace :spud do namespace :admin do resources :inquiries resources :inquiry_forms end namespace :inquiries do resource :sitemap,:only => [:show] end end post "/contact/inquire" => "contacts#inquire" get "/contact/thankyou" => "contacts#thankyou" if Spud::Inquiries.enable_routes get "/contact(/:id)" => "contacts#show", :as => :contact end end
Version data entries
9 entries across 9 versions & 2 rubygems