From: Andy Allan <git@gravitystorm.co.uk>
Date: Wed, 10 Oct 2018 09:55:00 +0000 (+0200)
Subject: Fix typo in method name
X-Git-Tag: live~4281^2~12
X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/901c29a82076d6c3079216254ea1f70cee28cced
Fix typo in method name
---
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 2c5fbe51d..ad91b3a3b 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -470,10 +470,10 @@ class ApplicationController < ActionController::Base
end
def current_ability
- Ability.new(current_user).merge(granted_capabily)
+ Ability.new(current_user).merge(granted_capability)
end
- def granted_capabily
+ def granted_capability
Capability.new(current_user, current_token)
end