Project

General

Profile

Where is project_issue_form_path() defined?

Added by Amaury Rodriguez about 10 years ago

I'm developing a Redmine plugin and I'm studying the codebase to get to know a little better how Redmine works. I see this javascript function call:

project_issue_form_path(@project, :id => @issue, :format => 'js')

in _form.html.erb, but I haven't found the definition for such function. The result of the call is a URL to the update_form.js for the corresponding project and issue. Where is project_issue_form_path() defined?

Thanks


Replies (2)

RE: Where is project_issue_form_path() defined? - Added by Toshi MARUYAMA about 10 years ago

$ rake routes | grep project_issue_form
  project_issue_form PUT|POST     /projects/:project_id/issues/update_form(.:format) 
     issues#update_form
    (1-2/2)