Module: BoardsActions

Extended by:
ActiveSupport::Concern
Includes:
Gitlab::Utils::StrongMemoize
Included in:
Groups::BoardsController
Defined in:
app/controllers/concerns/boards_actions.rb

Instance Method Summary collapse

Methods included from Gitlab::Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?

Instance Method Details

#indexObject


18
19
20
# File 'app/controllers/concerns/boards_actions.rb', line 18

def index
  respond_with_boards
end

#showObject


22
23
24
25
26
27
# File 'app/controllers/concerns/boards_actions.rb', line 22

def show
  # Add / update the board in the recent visits table
  Boards::Visits::CreateService.new(parent, current_user).execute(board) if request.format.html?

  respond_with_board
end