]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Fix typo in method name
[rails.git] / 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