Class: TubeRackSummariesController

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

Overview

Controller to display the summary of a Tube Rack

Constant Summary

Constants included from FlashTruncation

FlashTruncation::STRING_OVERHEAD

Instance Method Summary collapse

Methods inherited from ApplicationController

#block_api_access, #evil_parameter_hack!, #extract_header_info, #set_cache_disabled!

Methods included from FlashTruncation

#max_flash_size, #truncate_flash, #truncate_flash_array

Instance Method Details

#showObject



7
8
9
10
# File 'app/controllers/tube_rack_summaries_controller.rb', line 7

def show
  @tube_rack = TubeRack.find_from_any_barcode(params[:id])
  raise ActiveRecord::RecordNotFound if @tube_rack.nil?
end