diff options
| author | Alex Denisov <1101.debian@gmail.com> | 2012-12-03 02:29:07 +0200 |
|---|---|---|
| committer | Alex Denisov <1101.debian@gmail.com> | 2013-01-09 19:30:20 +0000 |
| commit | 97d17cf835ebe5121330a3775ae58bcab792851e (patch) | |
| tree | b5119e577d097c7cf3bced028a8e584a91dc0c09 /app/controllers/dashboard_controller.rb | |
| parent | b255c3c44b849510e19be88833bb73425b8d0e9d (diff) | |
| download | gitlab-ce-97d17cf835ebe5121330a3775ae58bcab792851e.tar.gz | |
Event filters stores at cookies.
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
| -rw-r--r-- | app/controllers/dashboard_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index 4bd840a07fb..c0ec4708e0a 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -60,6 +60,7 @@ class DashboardController < ApplicationController end def event_filter - @event_filter ||= EventFilter.new(params[:event_filter]) + filters = cookies['event_filter'].split(',') if cookies['event_filter'] + @event_filter ||= EventFilter.new(filters) end end |
