9 lines
177 B
Ruby
9 lines
177 B
Ruby
|
module ExtraRoutes
|
||
|
def add(map)
|
||
|
|
||
|
map.match '/test', :to => 'tests#index'
|
||
|
map.match '/test/wait/:sec', :to => 'tests#wait'
|
||
|
|
||
|
end
|
||
|
module_function :add
|
||
|
end
|