Class: DashboardController

Inherits:
Dashboard::ApplicationController
  • Object
show all
Includes:
IssuesAction, MergeRequestsAction
Defined in:
app/controllers/dashboard_controller.rb

Instance Method Summary collapse

Methods included from MergeRequestsAction

#merge_requests

Methods included from IssuesAction

#issues

Instance Method Details

#activityObject


10
11
12
13
14
15
16
17
18
19
20
21
# File 'app/controllers/dashboard_controller.rb', line 10

def activity
  @last_push = current_user.recent_push

  respond_to do |format|
    format.html

    format.json do
      load_events
      pager_json("events/_events", @events.count)
    end
  end
end