Sha256: f8ceaa301b881a6b6fc9648f9543e5a084b24079f805befc7aa1627923d3c48e

Contents?: true

Size: 599 Bytes

Versions: 16

Compression:

Stored size: 599 Bytes

Contents

DmNewsletter::Engine.routes.draw do

  scope ":locale" do
    namespace :admin do
      scope 'nms' do
        patch '/newsletters/synchronize_lists',   :controller => :newsletters, :action => :synchronize_lists
        resources :newsletters
      end
    end

    post   '/newsletter/subscribe_to_newsletter/:token',     :controller => :newsletters, :action => :subscribe_to_newsletter, :as => :subscribe_to_newsletter
    delete '/newsletter/unsubscribe_from_newsletter/:token', :controller => :newsletters, :action => :unsubscribe_from_newsletter, :as => :unsubscribe_from_newsletter
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dm_newsletter-4.2.3.10 config/routes.rb
dm_newsletter-4.2.3.9 config/routes.rb
dm_newsletter-4.2.3.8 config/routes.rb
dm_newsletter-4.2.3.7 config/routes.rb
dm_newsletter-4.2.3.6 config/routes.rb
dm_newsletter-4.2.3.5 config/routes.rb
dm_newsletter-4.2.3.4 config/routes.rb
dm_newsletter-4.2.3.3 config/routes.rb
dm_newsletter-4.2.3.2 config/routes.rb
dm_newsletter-4.2.3.1 config/routes.rb
dm_newsletter-4.2.3 config/routes.rb
dm_newsletter-4.2.2.3 config/routes.rb
dm_newsletter-4.2.2.2 config/routes.rb
dm_newsletter-4.2.2.1 config/routes.rb
dm_newsletter-4.2.2 config/routes.rb
dm_newsletter-4.2.1.5 config/routes.rb