Skip to content

Commit

Permalink
Merge pull request #1739 from etalab/bugfix/api-statuses
Browse files Browse the repository at this point in the history
API Particulier : FIX invalid path for API Status
  • Loading branch information
skelz0r authored Dec 4, 2024
2 parents 5c74edc + 0458baa commit afc52e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes/api_particulier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
get '/auth/api_gouv_particulier/callback', to: 'sessions#create_from_oauth'
get '/auth/failure', to: 'sessions#failure'
get '/robots.txt', to: ->(env) { [200, {}, [File.read('config/seo/robots.txt') % { app: 'particulier' }]] }
get '/apis/status', to: 'pages#current_status', as: :api_particulier_current_status
get '/status/apis', to: 'pages#current_status', as: :api_particulier_current_status
end

namespace :api_particulier, path: '' do
Expand Down

0 comments on commit afc52e4

Please sign in to comment.