Permalink
Browse files

fixed changing type of new cards

  • Loading branch information...
1 parent c59fb88 commit 2cfe4ef1ab848f0c2790e8a723026d0d5a5bbb0f @ethn ethn committed Sep 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/routes.rb
View
@@ -18,10 +18,10 @@
match '/files/(*id)' => 'card#read_file'
match 'new/:type' => 'card#read', :view => 'new'
- match 'card/new' => 'card#read', :view => 'new'
+ #match 'card/new' => 'card#read', :view => 'new'
match 'card/:view(/:id(.:format)(/:attribute))' => 'card#read', :constraints =>
- { :view=> /changes|options|related|edit/ }
+ { :view=> /new|changes|options|related|edit/ }
match ':controller/:action(/:id(.:format)(/:attribute))'

0 comments on commit 2cfe4ef

Please sign in to comment.