How can i rewrite default routes defined in "config/routs.rb" in my plugin? (Redmine 2.0)

Added by Vladimir Pitin about 9 years ago

How can I get my plugin rewrite default routes defined in "config/routes.rb"?

I really need it. I want my plugin to change default page and some routes in "config/routes.rb".

In previous version of RedMine I simply wrote new routes in "routs.rb" in plugin directory. Now it doesn't work!

Any help please :)

Replies (5)

RE: How can i rewrite default routes defined in "config/routs.rb" in my plugin? (Redmine 2.0) - Added by Vladimir Pitin about 9 years ago

I have routes in "routes.rb" (in my plugin) and this routes work fine, but I want redefine exist routes (redmine core routes).

(1-5/5)