mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01: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
|
def javascript_tag_for_i18n_datepicker
|
||||||
locale = I18n.locale
|
locale = I18n.locale
|
||||||
# do not include en as locale since this the available by default
|
# do not include en as locale since this the available by default
|
||||||
if locale && locale != :en
|
javascript_include_tag("datepicker-#{locale}") if locale && locale != :en
|
||||||
javascript_include_tag("datepicker-#{locale}")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def done_path(controller_name, type)
|
def done_path(controller_name, type)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue