app/controllers/memberships_controller.rb in artfully_ose-1.2.0.pre.8 vs app/controllers/memberships_controller.rb in artfully_ose-1.2.0.pre.9

- old
+ new

@@ -15,10 +15,10 @@ private def extend_memberships(params) #I hate how these are tied to the button text - if params[:commit].eql? "Extend Memberships" + if params[:commit].eql? "Change Expiration" params[:membership_ids].each do |membership_id| Membership.find(membership_id).adjust_expiration_to(params[:ends_at]) end flash[:notice] = "Memberships have been adjusted." end \ No newline at end of file