Module: TwitterAuth::ControllerExtensions
- Defined in:
- lib/twitter_auth/controller_extensions.rb
Overview
These methods borrow HEAVILY from Rick Olsen’s Restful Authentication. All cleverness props go to him, not me.
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 |
# File 'lib/twitter_auth/controller_extensions.rb', line 6 def self.included(base) base.send :helper_method, :current_user, :logged_in?, :authorized? end |