newbie in ROR, help for routes

Added by Ignacio Toscano over 7 years ago

Hi, i'm newbie in ROR and i have to update a routes.rb file of a plugin, but i can't find how to do it, the actual routes have the next code:

connect 'projects/:project_id/alfresco_documents/:action', :controller => 'alfresco_documents'

Some help please...
Thanks

Replies (2)

RE: newbie in ROR, help for routes - Added by Felix Schäfer over 7 years ago

The easiest way would be to contact the original plugin author :-) What are you trying yo achieve, or why does it need change? What is the problem you have?

RE: newbie in ROR, help for routes - Added by Ignacio Toscano over 7 years ago

I finally fix it, thanks a lot anyway

There are examples of how to build routes.rb in the own routes.rb of redmine

The problem was that when i sorted some documents, redmine does not found it because the route.rb was in the old format,luckly i found some examples in the routes.rb of redmine.

Well the real problem is that the author was out of the office and order to me fix it, and i have no idea of this XD.

(1-2/2)