Skip to content

Commit

Permalink
Merge pull request #6343 from Ana06/fix_moises
Browse files Browse the repository at this point in the history
Add excluded request routes into staging namespace
  • Loading branch information
Moisés Déniz Alemán committed Nov 22, 2018
2 parents fec98fb + 07368dc commit cd014cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -736,11 +736,11 @@ def self.public_or_about_path?(request)
get 'staged_requests' => 'staged_requests#index', constraints: cons
resource :staged_requests, controller: 'staged_requests', only: [:create, :destroy], constraints: cons
end
end

controller 'staging/excluded_requests' do
post 'staging_excluded_requests/:number/:project_name' => :create, constraints: cons
delete 'staging_excluded_requests/:number' => :destroy, constraints: cons
controller 'excluded_requests' do
post 'staging_excluded_requests/:number/:project_name' => :create, constraints: cons
delete 'staging_excluded_requests/:number' => :destroy, constraints: cons
end
end

controller :source_attribute do
Expand Down

0 comments on commit cd014cf

Please sign in to comment.