Skip to content

Commit

Permalink
fix for repository strings with a '+'
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Nov 13, 2012
1 parent 93b8611 commit a547149
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 @@ -12,7 +12,7 @@
match 'change_install' => :change_install

match 'ymp/:project/:repository/:package.ymp' => :ymp_without_arch_and_version,
:constraints => { :project => /[\w\-\.:]+/, :repository => /[\w\-\.:]+/, :package => /[\w\-\.:\+]+/ }
:constraints => { :project => /[\w\-\.:\+]+/, :repository => /[\w\-\.:\+]+/, :package => /[\w\-\.:\+]+/ }
match 'ymp/:project/:repository/:arch/:binary.ymp' => :ymp_with_arch_and_version,
:constrains => { :project => /[\w\-\.:]+/, :repository => /[\w\-\.:]+/, :arch => /[\w\-\.:]+/, :binary => /[\w\-\.:\+]+/ }

Expand Down

0 comments on commit a547149

Please sign in to comment.