Mercurial > hg > soundsoftware-site
annotate extra/sample_plugin/config/routes.rb @ 1376:6ba24edae331 luisf
Moved the code in bibliography.js and order_authorships.js from the js files to the view files - so that I can use ERB to build the AJAX call paths - otherwise I woudl have problems with redmine installations in subfolders.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Fri, 30 Aug 2013 17:33:05 +0100 |
parents | 433d4f72a19b |
children |
rev | line source |
---|---|
Chris@1115 | 1 # Plugin's routes |
Chris@1115 | 2 # See: http://guides.rubyonrails.org/routing.html |
Chris@1115 | 3 |
Chris@1115 | 4 match 'projects/:id/hello', :to => 'example#say_hello', :via => 'get' |
Chris@1115 | 5 match 'projects/:id/bye', :to => 'example#say_goodbye', :via => 'get' |
Chris@1115 | 6 |
Chris@1115 | 7 resources 'meetings' |