I tried creating a folder under 'Views' called "application" and put my action.rhtml file in there. I thought (following other Rails conventions) that would do the trick, but I still get an error:
"No such file or directory - ../app/views/controller/action.rhtml"
So it is still looking in the controller directory instead of pulling the rhtml file from the application directory. I can put a copy of the action.rhtml in each controller's view directory, but that does not follow the DRY principle.
Any help?
"No such file or directory - ../app/views/controller/action.rhtml"
So it is still looking in the controller directory instead of pulling the rhtml file from the application directory. I can put a copy of the action.rhtml in each controller's view directory, but that does not follow the DRY principle.
Any help?