Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (20 sloc) 0.652 kb
a971e7d Begins mass update to new namespacing.
Rob Yurkowski authored
1 Refinery::Core::Engine.routes.draw do
2 namespace :inquiries, :path => '' do
ef55f81 @ugisozols Rails 3.1 support. Wip.
ugisozols authored
3 get '/contact', :to => 'inquiries#new', :as => 'new_inquiry'
a971e7d Begins mass update to new namespacing.
Rob Yurkowski authored
4
ef55f81 @ugisozols Rails 3.1 support. Wip.
ugisozols authored
5 resources :contact,
a971e7d Begins mass update to new namespacing.
Rob Yurkowski authored
6 :only => :create,
7 :as => :inquiries,
8 :controller => 'inquiries' do
da06eb9 @ugisozols Use shorter syntax for collection and member routes.
ugisozols authored
9 get :thank_you, :on => :collection
ef55f81 @ugisozols Rails 3.1 support. Wip.
ugisozols authored
10 end
11
a971e7d Begins mass update to new namespacing.
Rob Yurkowski authored
12 namespace :admin, :path => 'refinery' do
ef55f81 @ugisozols Rails 3.1 support. Wip.
ugisozols authored
13 resources :inquiries, :only => [:index, :show, :destroy] do
da06eb9 @ugisozols Use shorter syntax for collection and member routes.
ugisozols authored
14 get :spam, :on => :collection
15 get :toggle_spam, :on => :member
f6564a2 @parndt Initial extraction from RefineryCMS core.
parndt authored
16 end
a971e7d Begins mass update to new namespacing.
Rob Yurkowski authored
17
033668f @ugisozols Scope settings routes so that they don't get managed by settings exte…
ugisozols authored
18 scope :path => 'inquiries' do
19 resources :settings, :only => [:edit, :update]
20 end
f6564a2 @parndt Initial extraction from RefineryCMS core.
parndt authored
21 end
22 end
23 end
Something went wrong with that request. Please try again.