Mercurial > hg > soundsoftware-site
annotate extra/sample_plugin/config/routes.rb @ 1559:21098b932cb8 feature_1136
Separate out git repo dir and work dir (so as to serve repo dir only)
author | Chris Cannam |
---|---|
date | Thu, 14 Jan 2016 10:27:25 +0000 |
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' |