Skip to content

Commit

Permalink
added - _ to id regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
thormarius committed Dec 17, 2009
1 parent 1a9ab0c commit 8f37df2
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 @@ -2,7 +2,7 @@
map.root :controller => :sessions, :action => :new
map.resource :session, :only => [:create, :destroy, :new]
map.resources :emails, :only => [:index, :show]
map.resources :calendars, :only => [:index, :show], :requirements => { :id => /[a-zA-Z0-9\-\.\%]+/ }
map.resources :calendars, :only => [:index, :show], :requirements => { :id => /[a-zA-Z0-9\-\.\%\-\_\+]+/ }
map.open_id_complete 'session', :controller => "sessions", :action => "create", :requirements => { :method => :get }
map.authenticated_content '/authenticated', :controller => :authenticated, :action => :index
end

0 comments on commit 8f37df2

Please sign in to comment.