Module: EnjuInventory::Controller

Extended by:
ActiveSupport::Concern
Defined in:
app/controllers/concerns/enju_inventory/controller.rb

Instance Method Summary collapse

Instance Method Details

#get_inventory_fileObject



5
6
7
# File 'app/controllers/concerns/enju_inventory/controller.rb', line 5

def get_inventory_file
  @inventory_file = InventoryFile.find(params[:inventory_file_id]) if params[:inventory_file_id]
end