Module: EnjuCirculation::Controller

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

Instance Method Summary collapse

Instance Method Details

#get_checkout_typeObject



5
6
7
8
9
10
# File 'app/controllers/concerns/enju_circulation/controller.rb', line 5

def get_checkout_type
  if params[:checkout_type_id]
    @checkout_type = CheckoutType.find(params[:checkout_type_id])
    authorize @checkout_type, :show?
  end
end