Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

[INCOMPLTE PATCH] Include info on message name/who it was sent to after it has been sert #2406

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: avarab[at]gmail.com
[Submitted to the original trac issue database at 1.27pm, Friday, 30th October 2009]

I can't get this patch to work properly because it needs to call link_to'' inside a controller. I've tried the advice [http://blog.lrdesign.com/2009/05/using-link_to-or-other-helper-methods-in-a-controller/ here] and by creating a helper method as this patch does but I always end up with an error on ''nil.url_for.

Perhaps this can be moved into a template and then something like:

flash[:notice] = get_content_of_template("name")
@openstreetmap-trac
Copy link
Author

Author: osm[at]gravitystorm.co.uk
[Added to the original trac issue at 12.41pm, Wednesday, 28th August 2019]

Thanks for the incomplete patch. Unfortunately there's been some bitrot since this was originally proposed.

If you want to resurrect this idea, then please do so via https://github.com/openstreetmap/openstreetmap-website .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant