Add method in existing controller for new redmine rest api

Added by Anonymous almost 6 years ago

Hello,
I am completely new to rails. I am trying to create a new method to fetch the projects according to project name and version name in redmine. I have made changes to the routes and controller but I cannot get the api working. Can anyone help me out with the places I need to change code to add new rest api for either xml or json format.
Regards