Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Commit

Permalink
Merge pull request #89 from asebastian/fix-client-name-route
Browse files Browse the repository at this point in the history
Fix /events/:client route
  • Loading branch information
joshpasqualetto committed May 1, 2013
2 parents 77f412b + 840252b commit 6e57cab
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 @@ -11,7 +11,7 @@
scope 'events' do
match 'events_table' => 'events#events_table', :via => :get
match 'modal_data' => 'events#modal_data', :via => :get
scope '/:client', :constraints => { :client => /[\w.]+/ } do
scope '/:client', :constraints => { :client => /[\w.\-]+/ } do
match '/silence' => 'events#silence_client', :via => :post
match '/unsilence' => 'events#unsilence_client', :via => :post
scope '/:check' do
Expand Down

0 comments on commit 6e57cab

Please sign in to comment.