Sha256: 5bcd860cc402c01de375882e88d513708d67c95f9d7d952361daf2806c98635f
Contents?: true
Size: 496 Bytes
Versions: 9
Compression:
Stored size: 496 Bytes
Contents
ActionController::Routing::Routes.draw do |map| map.new_inquiry '/contact', :controller => 'inquiries', :action => 'new' map.thank_you_inquiries '/contact/thank_you', :controller => 'inquiries', :action => 'thank_you' map.resources :inquiries, :collection => {:thank_you => :get} map.namespace(:admin, :path_prefix => 'refinery') do |admin| admin.resources :inquiries, :collection => {:spam => :get}, :member => {:toggle_spam => :get} admin.resources :inquiry_settings end end
Version data entries
9 entries across 9 versions & 1 rubygems