lib/authpwn_rails/session.rb in authpwn_rails-0.10.10 vs lib/authpwn_rails/session.rb in authpwn_rails-0.10.11

- old
+ new

@@ -8,10 +8,18 @@ # trick. Model instances must implement id, and the model class must implement # find_by_id. def self.authenticates_using_session(options = {}) include Authpwn::ControllerInstanceMethods before_filter :authenticate_using_session, options - end + end + + # True for controllers belonging to the authentication implementation. + # + # Controllers that return true here are responsible for performing their own + # authorization. + def auth_controller? + false + end end # :nodoc: namespace module Authpwn