Skip to content

Commit

Permalink
fixed changing type of new cards
Browse files Browse the repository at this point in the history
  • Loading branch information
ethn committed Sep 26, 2012
1 parent c59fb88 commit 2cfe4ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Expand Up @@ -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))'

Expand Down

0 comments on commit 2cfe4ef

Please sign in to comment.