summaryrefslogtreecommitdiffstats
path: root/routes.rb
diff options
context:
space:
mode:
authorroot <root@ndl-server.ndl.kiev.ua>2010-03-26 11:51:13 (GMT)
committerroot <root@ndl-server.ndl.kiev.ua>2010-03-26 11:51:13 (GMT)
commit8cfa874772765e14fa00be565d85c19c5183f00a (patch)
treeee922f3b45fdcf860285c8d1101ad00119ba117e /routes.rb
parent5ea4c736edcb50ab8c2c06f18570475fff75a0f6 (diff)
downloadwiki_external_filter-8cfa874772765e14fa00be565d85c19c5183f00a.zip
wiki_external_filter-8cfa874772765e14fa00be565d85c19c5183f00a.tar.gz
wiki_external_filter-8cfa874772765e14fa00be565d85c19c5183f00a.tar.bz2
- Added support for attachments referencing
- Added stderr capturing for better error reports - Added multiple commands support - Added video macro filter based on flowplayer and ffmpeg
Diffstat (limited to 'routes.rb')
-rw-r--r--routes.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/routes.rb b/routes.rb
index c8d80e2..e030364 100644
--- a/routes.rb
+++ b/routes.rb
@@ -1,2 +1 @@
-
-connect 'wiki_external_filter/:macro/:name', :controller => 'wiki_external_filter', :action => 'filter', :macro => /\S+/
+connect 'wiki_external_filter/:filename', :controller => 'wiki_external_filter', :action => 'filter', :macro => 'flowplayer', :index => '1', :requirements => { :filename => /\S+\.flv/ }