Navigation Menu

Skip to content

Commit

Permalink
Exlude irrelevant routes
Browse files Browse the repository at this point in the history
  • Loading branch information
nfecastro committed Aug 4, 2014
1 parent 43ca2d1 commit 985393c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
@@ -1,7 +1,7 @@
# Plugin's routes
# See: http://guides.rubyonrails.org/routing.html

resources :baselines
resources :baselines, :except => [:new, :create]
resources :projects do
resources :baselines
resources :baselines, :only => [:new, :create]
end

0 comments on commit 985393c

Please sign in to comment.