Created
July 15, 2010 14:42
-
-
Save fsvehla/477025 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lightning ~intranet ‹master*› ree-1.8.7-2010.02» git diff config/routes.rb | |
diff --git a/config/routes.rb b/config/routes.rb | |
index 716cd20..5646f59 100644 | |
--- a/config/routes.rb | |
+++ b/config/routes.rb | |
@@ -145,7 +145,7 @@ ActionController::Routing::Routes.draw do |map| | |
map.resource :voxbone_import, :collection => {:preview => :post} | |
- map.connect '/tickets/assign/:ticket_id/to/:selected_user', :controller => "tickets", :action => "assign_to" | |
+ map.connect '/tickets/assign/:ticket_id/to/:selected_user', :controller => "tickets", :action => "assign_to", :requirements => {:selected_user => customer_id_regexp} | |
map.connect '/invoicing/sinner_in/:year/:month', :controller => "invoicing" , :action => "sinner_in_month" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment