mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
Fix a coding style error by CodeClimate
This commit is contained in:
parent
5a6ee73d7d
commit
406fdf2335
1 changed files with 1 additions and 3 deletions
|
@ -170,9 +170,7 @@ module ApplicationHelper
|
|||
def javascript_tag_for_i18n_datepicker
|
||||
locale = I18n.locale
|
||||
# do not include en as locale since this the available by default
|
||||
if locale && locale != :en
|
||||
javascript_include_tag("datepicker-#{locale}")
|
||||
end
|
||||
javascript_include_tag("datepicker-#{locale}") if locale && locale != :en
|
||||
end
|
||||
|
||||
def done_path(controller_name, type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue