Skip to content

Commit

Permalink
Fixing rails spec failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
imvirajp committed Oct 18, 2019
1 parent 7bb3a46 commit 753b4ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/main/webapp/WEB-INF/rails/config/routes.rb
Expand Up @@ -213,6 +213,8 @@
get 'environments/merged' => 'merged_environments#index', as: :merged_environment_index
resources :repositories, param: :repo_id, only: [:show, :index, :destroy, :create, :update], constraints: {repo_id: ALLOW_DOTS}

# needed for package repository representer, will remove post package repository api migration
resources :packages, param: :package_id, only: [:show, :destroy, :index, :create, :update], constraints: {package_id: ALLOW_DOTS}
namespace :internal do
post :material_test, controller: :material_test, action: :test, as: :material_test
end
Expand Down

0 comments on commit 753b4ae

Please sign in to comment.