redmine-todos-scrum-plugin icon indicating copy to clipboard operation
redmine-todos-scrum-plugin copied to clipboard

Optimize URL-construction

Open MischaTheEvil opened this issue 15 years ago • 0 comments

Issue taken from the old wiki:

Using v0.0.3.4; Currently the project_id is passed through as the :project_id-parameter in the URL (like http://host.domain.tld/todos?project_id=test). It seems to me that it would be much better to change that scheme to controller:action:(project)id (like http://host.domain.tld/todos/index/test) at least (before switching to RESTful). This could be done by using the default parameter for the project_id called :id (see http://www.redmine.org/wiki/redmine/Plugin_Tutorial#Extending-the-application-menu). Though don’t follow that guide completely since it furthermore says you to use the :project_id-parameter…

See this commit for the Redmine Tab plugin ( http://github.com/jamtur01/redmine_tab/commit/8d74539b78b8e288f18d3e8649597dca42f24665 ) wherein I have changed such behaviour also.

MischaTheEvil avatar May 06 '09 20:05 MischaTheEvil