Created
December 7, 2010 14:52
-
-
Save coffeeaddict/731855 to your computer and use it in GitHub Desktop.
modular controller
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LoginController < ApplicationController | |
skip_before_filter :check_login | |
skip_before_filter :check_rights | |
include LoginMethods | |
end | |
> LoginController.action_methods | |
=> #<Set: { ... }> # only action methods from ApplicationController show up here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment