Project

General

Profile

Issue editing with pre-filled values

Added by Jérémie Delaitre almost 14 years ago

Hi,

In my plugin, I want to redirect the user to the issue editing page when he clicks a link.
The thing is I want to pre-filled some values for him (the spent-time text field for example).

In the edit action of the issues controller, there is a "request.post?" test which prevent me to do what I want.

I have two questions:
- Why this "request.post?" condition? (can it be removed? :D)
- How can I do what I want?! I didn't find a way to do a "redirect_to" with POST (I searched the web, it seems conflicting with the HTTP standard...).

Thanks in advance, and please note that I'm a ruby/rails noob (and web dev in general...).