view plugins/redmine_bibliography/config/routes.rb @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents 4d5d25039a5f
children
line wrap: on
line source
RedmineApp::Application.routes.draw do
    match "publications/show_bibtex_fields", :to => 'publications#show_bibtex_fields', :via => "get"

    match "publications/autocomplete_for_author", :to => 'publications#autocomplete_for_author', :via => "get"

    match "authors/show/:id", :to => 'authors#show'

    match "publications/add_project/:id", :to => 'publications#add_project'

    match "publications/autocomplete_for_project", :to => 'publications#autocomplete_for_project'

    resources :authorships do
        collection do
            post 'sort', :action => 'sort'
        end
    end

    resources :publications
end