lib/nexmo_developer/app/helpers/application_helper.rb in station-0.4.8 vs lib/nexmo_developer/app/helpers/application_helper.rb in station-0.4.9

- old
+ new

@@ -15,10 +15,10 @@ "theme--#{ENV['THEME']}" end def active_sidenav_item if params[:tutorial_name] - url_for(controller: :tutorial, action: :index, product: params[:product], tutorial_name: params[:tutorial_name]) + url_for(controller: :tutorial, action: :index, product: params[:product] || @sidenav_product, tutorial_name: params[:tutorial_name]) else request.path.chomp("/#{params[:code_language]}") end end