Commit 5b310bb5 authored by Hussain Kashef's avatar Hussain Kashef

corrected typo in helpers

parent c78fce96
Pipeline #51337 passed with stage
in 48 minutes and 53 seconds
......@@ -91,7 +91,7 @@ module ApplicationHelper
def profile_url_path(user)
if policy(user.profile_entity).edit?
edit_polymorphic_path(user.profile_entity)
elsif policy(user.profile_entidty).show?
elsif policy(user.profile_entity).show?
polymorphic_path(user.profile_entity)
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment