Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 289 Bytes
ActionController::Routing::Routes.draw do |map|
map.namespace :admin, :member => { :clear_responses => :post } do |admin|
admin.resources :polls
end
map.resources :poll_response, :only => [ :index, :create ], :path_prefix => '/pages/:page_id', :controller => 'poll_response'
end