Sha256: 305475e3966e05c962b45b4791d705c49cfb75df8950b1e56c37a55e80191d34
Contents?: true
Size: 409 Bytes
Versions: 9
Compression:
Stored size: 409 Bytes
Contents
# frozen_string_literal: true module Kanaui class SettingsController < Kanaui::EngineController def index; end # update would have been nicer, but it's hard to pass the id in the url def create Kanaui::DashboardHelper::DashboardApi.refresh(params.require(:account_id), options_for_klient) redirect_to({ action: :index }, notice: 'Account successfully refreshed') end end end
Version data entries
9 entries across 9 versions & 1 rubygems