From 901c29a82076d6c3079216254ea1f70cee28cced Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 10 Oct 2018 11:55:00 +0200 Subject: [PATCH] Fix typo in method name --- app/controllers/application_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5