Project

General

Profile

Notes for Redmine 1 .4.1 » routes.rb

Marc Mengel, 2012-05-16 23:32

 
1
ActionController::Routing::Routes.draw do |map|
2
  map.connect 'wiki_external_filter/:filename', :controller => 'wiki_external_filter', :action => 'filter', :macro => 'video', :index => '1', :requirements => { :filename => /video\.flv/ }
3
  map.connect 'wiki_external_filter/:filename', :controller => 'wiki_external_filter', :action => 'filter', :macro => 'video_url', :index => '1', :requirements => { :filename => /video_url\.flv/ }
4
  map.connect 'wiki_external_filter/:action:id', :controller => 'wiki_external_filter'
5
end
(3-3/3)