]> git.openstreetmap.org Git - rails.git/commitdiff
Fix typo in method name
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 10 Oct 2018 09:55:00 +0000 (11:55 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 10 Oct 2018 09:55:00 +0000 (11:55 +0200)
app/controllers/application_controller.rb

index 2c5fbe51d0f95315c34cfd3c97e3911d5e6b67c0..ad91b3a3b11b3aaad19e4142fd58bd3a5a8a4c5d 100644 (file)
@@ -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