summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2013-10-04 23:19:33 +0200
committerAlex Legler <alex@a3li.li>2013-10-04 23:19:33 +0200
commite58bcb62e88cbf0b70ce8b53eb440d4a517529e5 (patch)
tree5e5162239202fab619a6b0b646d53cc277794100
parentUpgrade to rails 4.0.0 (diff)
downloadglsamaker-e58bcb62e88cbf0b70ce8b53eb440d4a517529e5.tar.gz
glsamaker-e58bcb62e88cbf0b70ce8b53eb440d4a517529e5.tar.bz2
glsamaker-e58bcb62e88cbf0b70ce8b53eb440d4a517529e5.zip
Fix routes for cvetool
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 718ba06..2a28e0e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -3,7 +3,7 @@ Glsamaker::Application.routes.draw do
match 'bug/:id' => 'bug#bug', :as => :bug, :via => :get
match 'bug/:id/history' => 'bug#history', :as => :bughistory, :via => :get
- match 'cve/list.:format' => 'cve#list', :as => :cve, :via => :get
+ match 'cve/list.:format' => 'cve#list', :as => :cve, :via => [:get, :post]
match 'search/results' => 'search#results', :as => :search, :via => :get