Skip to content

Commit

Permalink
Namespace newletter subscription routes
Browse files Browse the repository at this point in the history
  • Loading branch information
noracato committed Dec 6, 2024
1 parent aadb781 commit 59b8f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

post 'change_scenario_privacy', to: 'settings#update_scenario_privacy'

get ':audience', to: 'newsletter#edit', as: :edit_subscription
patch ':audience', to: 'newsletter#update', as: :update_subscription
get 'subscription/:audience', to: 'newsletter#edit', as: :edit_subscription
patch 'subscription/:audience', to: 'newsletter#update', as: :update_subscription

resources :tokens, only: [:index, :new, :create, :destroy], as: :tokens
resources :access_tokens, only: [:create], as: :access_tokens
Expand Down

0 comments on commit 59b8f5e

Please sign in to comment.