Skip to content
Find file
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
Something went wrong with that request. Please try again.