Sha256: 95d2f489e55d4372c3292488c64519e672eec50b43b32c576661b8bb6112bd02

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

class Kiqr::Accounts::Settings::BaseController < KiqrController
  before_action :ensure_team_account
  before_action :setup_account

  renders_submenu partial: "kiqr/accounts/settings/navigation"

  before_action do
    add_breadcrumb I18n.t("kiqr.breadcrumbs.settings.root"), account_settings_profile_path
  end

  private

  def setup_account
    @account = Account.find(current_account.id)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kiqr-0.1.0.alpha1 app/controllers/kiqr/accounts/settings/base_controller.rb