app/controllers/checkouts_controller.rb in enju_circulation-0.1.0.pre5 vs app/controllers/checkouts_controller.rb in enju_circulation-0.1.0.pre6
- old
+ new
@@ -7,10 +7,9 @@
after_filter :convert_charset, :only => :index
cache_sweeper :circulation_sweeper, :only => [:create, :update, :destroy]
# GET /checkouts
# GET /checkouts.json
-
def index
if params[:icalendar_token].present?
icalendar_user = User.where(:checkout_icalendar_token => params[:icalendar_token]).first
if icalendar_user.blank?
raise ActiveRecord::RecordNotFound