Mercurial > hg > soundsoftware-site
view plugins/redmine_embedded/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 | 22d81bd0b62c |
children |
line wrap: on
line source
RedmineApp::Application.routes.draw do post "/projects/:id/embedded/upload", :to => "redmine_embedded#upload", :as => :upload_embedded get 'projects/:id/embedded(/*request_path(.:format))', :to => "redmine_embedded#index", :as => :show_embedded end