lib/aptible/rails/controller.rb in aptible-rails-0.6.7 vs lib/aptible/rails/controller.rb in aptible-rails-0.6.8
- old
+ new
@@ -90,10 +90,10 @@
def compliance_alerts
return @compliance_alerts if @compliance_alerts
@apps = Aptible::Api::App.all(token: service_token)
@users = current_organization.users
@compliance_alerts = ComplianceAlertCollection.new(
- @criteria, @apps, @users
+ criteria, @apps, @users
).all
end
def service_token
return unless session_token && session_token.session