We make use of before_filter in Rails to call certain methods like user authentication or login; or perform a customized action before we gain access to the controller.
The application controller is used to define common set of methods which would be accessible for use/call by methods belonging to a specific controller.
The application controller is used to define common set of methods which would be accessible for use/call by methods belonging to a specific controller.
No comments:
Post a Comment