rails 3 rendering view without action
render, ruby-on-rails
Solution
Yes, the view will be rendered even if no corresponding action is present, it will work as routes are defined for the same. But this is not a good practice!
Problem
I defined the routes for a particular action and created a link. I created the corresponding views too but did not code define the controller action method. Still the view is rendered on clicking the link. That is the view is rendered without the action actually being present. Any explanations ?