summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-21 12:52:37 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-21 12:52:37 -0300
commitf37765efa237fdc26b9937bcb2128910eccbaf91 (patch)
treea053b2d14c2ae6903d517927ff65a8b408e1a763 /app/controllers/dashboard
parent7f3026854515d0c9d713ad9356016a1fa55a3200 (diff)
downloadgitlab-ce-f37765efa237fdc26b9937bcb2128910eccbaf91.tar.gz
Use before_action instead of before_filter
Diffstat (limited to 'app/controllers/dashboard')
-rw-r--r--app/controllers/dashboard/todos_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/dashboard/todos_controller.rb b/app/controllers/dashboard/todos_controller.rb
index 4e8ebfb06a0..9ee9039f004 100644
--- a/app/controllers/dashboard/todos_controller.rb
+++ b/app/controllers/dashboard/todos_controller.rb
@@ -1,5 +1,5 @@
class Dashboard::TodosController < Dashboard::ApplicationController
- before_filter :find_todos, only: [:index, :destroy_all]
+ before_action :find_todos, only: [:index, :destroy_all]
def index
@todos = @todos.page(params[:page]).per(PER_PAGE)