Skip to content

Commit

Permalink
added space
Browse files Browse the repository at this point in the history
  • Loading branch information
imajit committed Jun 19, 2021
1 parent 1aaf43b commit ec281d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ def translation(key, options = {}, html = true)
end
end

def create_dropdown(href,text)
translated_string=translation(text)
def create_dropdown(href, text)
translated_string = translation(text)
if current_user&.has_tag('translation-helper') && I18n.locale != :en
raw(%(<div class="dropdown-item"> <a class="text-body" href="/#{href}"> #{translated_string}</a> </div>))
else
Expand Down

0 comments on commit ec281d4

Please sign in to comment.