mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
Code style fixes
This commit is contained in:
parent
c6bbc67dab
commit
d8acf60049
72 changed files with 458 additions and 594 deletions
|
|
@ -1,5 +1,4 @@
|
|||
class PreferencesController < ApplicationController
|
||||
|
||||
def index
|
||||
@page_title = t('preferences.page_title')
|
||||
@prefs = current_user.prefs
|
||||
|
|
@ -31,7 +30,7 @@ class PreferencesController < ApplicationController
|
|||
render :body => l(Date.current, :format => format)
|
||||
end
|
||||
|
||||
private
|
||||
private
|
||||
|
||||
def prefs_params
|
||||
params.require(:prefs).permit(
|
||||
|
|
@ -52,5 +51,4 @@ private
|
|||
notify :notice, t('preferences.updated')
|
||||
redirect_to :action => 'index'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue