app/controllers/kpm/engine_controller.rb in killbill-kpm-ui-1.0.2 vs app/controllers/kpm/engine_controller.rb in killbill-kpm-ui-2.0.0

- old
+ new

@@ -1,8 +1,9 @@ +# frozen_string_literal: true + module KPM class EngineController < ApplicationController - layout :get_layout def get_layout layout ||= KPM.config[:layout] end @@ -15,15 +16,14 @@ end def options_for_klient user = current_tenant_user { - :username => user[:username], - :password => user[:password], - :session_id => user[:session_id], - :api_key => user[:api_key], - :api_secret => user[:api_secret] + :username => user[:username], + :password => user[:password], + :session_id => user[:session_id], + :api_key => user[:api_key], + :api_secret => user[:api_secret] } end - end end