mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Replace sass-rails with sassc-rails.
This commit is contained in:
parent
52cdab8146
commit
6383c3d998
3 changed files with 9 additions and 14 deletions
|
|
@ -19,7 +19,7 @@ class ApplicationController < ActionController::Base
|
|||
append_before_action :set_group_view_by
|
||||
prepend_before_action :login_required
|
||||
prepend_before_action :enable_mobile_content_negotiation
|
||||
|
||||
|
||||
def set_locale
|
||||
locale = params[:locale] # specifying a locale in the request takes precedence
|
||||
locale = locale || prefs.locale unless current_user.nil? # otherwise, the locale of the currently logged in user takes over
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue