summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Siraut <csiraut@entrouvert.com>2018-07-13 15:43:50 (GMT)
committerChristophe Siraut <csiraut@entrouvert.com>2018-07-13 15:43:50 (GMT)
commit28d1043d7e6a26611a5962cc21cf3d3338617cea (patch)
tree9da3fb5789875a625fc9df67d418b96b1f48cbd1
parentdce52f32c5f3b2711cfd432de6c0dc6483fd0b81 (diff)
downloadwiki_external_filter-28d1043d7e6a26611a5962cc21cf3d3338617cea.zip
wiki_external_filter-28d1043d7e6a26611a5962cc21cf3d3338617cea.tar.gz
wiki_external_filter-28d1043d7e6a26611a5962cc21cf3d3338617cea.tar.bz2
redmine 3.3 compat: specify an HTTP methodHEADmaster
-rw-r--r--config/routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index f96b5d1..60c691b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,3 +1,3 @@
-match 'wiki_external_filter/:filename', :controller => 'wiki_external_filter', :action => 'filter', :macro => 'video', :index => '1', :requirements => { :filename => /video\.flv/ }
-match 'wiki_external_filter/:filename', :controller => 'wiki_external_filter', :action => 'filter', :macro => 'video_url', :index => '1', :requirements => { :filename => /video_url\.flv/ }
+get 'wiki_external_filter/:filename', :controller => 'wiki_external_filter', :action => 'filter', :macro => 'video', :index => '1', :requirements => { :filename => /video\.flv/ }
+get 'wiki_external_filter/:filename', :controller => 'wiki_external_filter', :action => 'filter', :macro => 'video_url', :index => '1', :requirements => { :filename => /video_url\.flv/ }
match '/wiki_external_filter', :to => 'wiki_external_filter#filter', :via => [:get, :post]