app/controllers/iugu/pricing_controller.rb in iugusdk-1.0.0.alpha.21 vs app/controllers/iugu/pricing_controller.rb in iugusdk-1.0.0.alpha.22
- old
+ new
@@ -1,8 +1,8 @@
class Iugu::PricingController < ApplicationController
before_filter :verify_api_key, :only => [ :index ]
def index
- @plans = Iugu::Api::Plan.all
+ @plans = Iugu::Api::Plan.all params: {hl: current_user.locale}
end
end