Skip to content

Commit

Permalink
Merge pull request #1989 from codebar/fix-rollbar-warning-529-jobs-co…
Browse files Browse the repository at this point in the history
…ntroller-routing-error

Fix Rollbar warning #529: ActionController::RoutingError: uninitialized constant Member::JobsController
  • Loading branch information
matyikriszta committed Dec 11, 2023
2 parents f1f225a + a41743d commit 6b50602
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@
resource :details, only: %i[edit update]
end

namespace :member, path: 'my' do
resources :jobs, except: [:destroy] do
post 'submit'
get 'pending', on: :collection
end
end

resource :members do
get :autocomplete_skill_name, on: :collection
end
Expand Down Expand Up @@ -163,4 +156,7 @@
get 'breach-code-of-conduct' => 'pages#show', id: 'breach-code-of-conduct'

get ':id' => 'chapter#show', as: :chapter

# Redirects
get '/my/jobs/new', to: redirect('https://jobs.codebar.io/my/jobs/new')
end

0 comments on commit 6b50602

Please sign in to comment.