own CVS export
Added by Marco Gutsche almost 15 years ago
Hello,
in an existing plugin I have summarized an issue list to an own format list (add estimated times, ...) and display this list successfully.
Additionally I would like to offer a CVS-export and tried to copy this from the issue export. I've read the plugin internal guide and tried to wrap/adding a new function when clicking the link but I always get an error 404.
Can someone give me an advice how to solve this problem or do you need additional inforamtion?
Thanks a lot.
Replies (1)
RE: own CVS export - Added by Marco Gutsche almost 15 years ago
Additional:
I tried adding a new function to the VersionController by using this example: http://github.com/edavis10/redmine-budget-plugin/blob/5076b1c88b57c2068aa92cdf694769dbd22d061a/lib/issue_patch.rb
My link is genarated with:
<%= link_to( 'CSV',
:controller => 'versions',
:action => 'own_csv',
:version => version
) %>
And added to my Version_patch.rb a function "own_csv".
But when using the link I get an erro 404.
Have I forgot something or is this the wrong way?