spec/dummy/app/controllers/application_controller.rb in enju_library-0.1.0.pre12 vs spec/dummy/app/controllers/application_controller.rb in enju_library-0.1.0.pre13

- old
+ new

@@ -37,12 +37,12 @@ def access_denied raise CanCan::AccessDenied end - def current_ability - @current_ability ||= Ability.new(current_user, request.remote_ip) - end + #def current_ability + # @current_ability ||= Ability.new(current_user, request.remote_ip.split('%')[0]) + #end def solr_commit Sunspot.commit end