Project

General

Profile

Url with show

Added by Gabriel Lopes over 9 years ago

How to activate url with show?
Exemple:

http://localhost/issues/show/5667

url with show
print error

Page not found

The page you were trying to access doesn't exist or has been removed.

Back


Replies (2)

RE: Url with show - Added by Martin Denizet (redmine.org team member) over 9 years ago

Hello Gabriel,

You may be able to do that writing a custom plugin.
You need the following route in routes.rb:

  get 'issues/show/:id', controller: 'issues', action: 'show'


To have the links changed to the new route, you should override the link_to_issue helper.

Cheers,

RE: Url with show - Added by Martin Denizet (redmine.org team member) over 9 years ago

I updated my answer, let me know if it works.
Cheers,

    (1-2/2)