Skip to content

Commit

Permalink
fix packages with dots and dashes
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Mar 8, 2012
1 parent b033f3f commit b9b3029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
map.connect '113/:lang', :controller => 'main', :action => 'release', :release => "113", :outdated => true
map.connect 'developer/:lang', :controller => 'main', :action => 'release', :release => "developer"

map.connect 'package/:package', :controller => 'package', :action => 'show'
map.connect 'package/:package', :controller => 'package', :action => 'show', :requirements => { :package => /[\w\-\.:]+/ }
map.connect 'packages', :controller => 'package', :action => 'list'

map.connect 'promodvd', :controller => 'order', :action => 'new'
Expand Down

0 comments on commit b9b3029

Please sign in to comment.