Class: TubeRackSummariesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- TubeRackSummariesController
- 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
#show ⇒ Object
7 8 9 10 |
# File 'app/controllers/tube_rack_summaries_controller.rb', line 7 def show @tube_rack = TubeRack.(params[:id]) raise ActiveRecord::RecordNotFound if @tube_rack.nil? end |