Class: Hyperlayer::ExampleGroupsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/hyperlayer/example_groups_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
6
7
# File 'app/controllers/hyperlayer/example_groups_controller.rb', line 3

def index
  @run = Hyperlayer::Run.find(params[:run_id])
  @spec = @run.specs.find(params[:spec_id])
  @example_groups = @spec.example_groups
end