Sha256: 94d29e4982c738ebb457deb2c53b918fd424b55fe14879750d958994d7c5fd92

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 Bytes

Contents

module Cms::Routes
  def routes_for_bcms_polling

    poll_results '/polls/:id/results', :controller=>"polling", :action=>'results'
    poll_reset '/polls/:id/reset', :controller=>"polling", :action=>'reset'
    poll_response '/poll_responses/:id', :controller=>"polling", :action=>'update'
    namespace(:cms) do |cms|
      cms.content_blocks :poll_responses
      cms.content_blocks :polls
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bcms_polling-1.0.3 lib/bcms_polling/routes.rb
bcms_polling-1.0.2 lib/bcms_polling/routes.rb
bcms_polling-1.0.0 lib/bcms_polling/routes.rb