pg_engine/config/routes.rb in pg_rails-7.0.8.pre.alpha.94 vs pg_engine/config/routes.rb in pg_rails-7.0.8.pre.alpha.95
- old
+ new
@@ -8,9 +8,12 @@
end
devise_for :users, controllers: {
confirmations: 'users/confirmations',
registrations: 'users/registrations'
}, failure_app: PgEngine::DeviseFailureApp
+ namespace :users, path: 'u' do
+ post 'notifications/mark_as_seen', to: 'notifications#mark_as_seen'
+ end
namespace :admin, path: 'a' do
pg_resource(:emails)
pg_resource(:email_logs) do
collection do
post :mailgun_sync