Class: Admin::BuildsController

Inherits:
ApplicationController
  • Object
show all
Includes:
InchCI::Controller
Defined in:
app/controllers/admin/builds_controller.rb

Constant Summary collapse

PER_PAGE =
200

Instance Method Summary collapse

Methods included from InchCI::Controller

#expose

Instance Method Details

#indexObject


9
10
11
12
13
# File 'app/controllers/admin/builds_controller.rb', line 9

def index
  set_builds
  @languages = %w(Elixir JavaScript Ruby)
  @gossip_room = "projects:lobby"
end

#showObject


15
16
17
18
# File 'app/controllers/admin/builds_controller.rb', line 15

def show
  view = Action::Build::Show.new(params, load_dump: true)
  expose view
end