Do you use this method as an action or as an helper method.
If it is an action add it to the routes and render its view, if not move it to the helper section or as a private method in the controller or as instance method in the model.