mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
Convert before_filter to before_action
`before_filter` has been removed in future versions of rails. Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
This commit is contained in:
parent
dab358cad0
commit
60ae4f6f5f
13 changed files with 39 additions and 39 deletions
|
|
@ -3,7 +3,7 @@ class StatsController < ApplicationController
|
|||
SECONDS_PER_DAY = 86400;
|
||||
|
||||
helper :todos, :projects, :recurring_todos
|
||||
append_before_filter :init, :except => :index
|
||||
append_before_action :init, :except => :index
|
||||
|
||||
def index
|
||||
@page_title = t('stats.index_title')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue