Sha256: 7a9da7456f51086bdae47b439fa0e5f96e6bbac7ba10c36900fda5369c8d2768

Contents?: true

Size: 452 Bytes

Versions: 7

Compression:

Stored size: 452 Bytes

Contents

module PgEngine
  class BaseUsersController < ApplicationController
    include PgEngine::RequireSignIn
    include PgEngine::RequireTenantSet

    before_action do
      # FIXME: requisito que esto esté seteado
      Current.namespace = :users

      add_breadcrumb 'Inicio', :users_root_path unless using_modal2? || frame_embedded?
    end

    def home
      render html: '<h1>Inicio</h1>'.html_safe, layout: 'pg_layout/centered'
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pg_rails-7.6.0 pg_engine/app/controllers/pg_engine/base_users_controller.rb
pg_rails-7.5.7 pg_engine/app/controllers/pg_engine/base_users_controller.rb
pg_rails-7.5.6 pg_engine/app/controllers/pg_engine/base_users_controller.rb
pg_rails-7.5.5 pg_engine/app/controllers/pg_engine/base_users_controller.rb
pg_rails-7.5.4 pg_engine/app/controllers/pg_engine/base_users_controller.rb
pg_rails-7.5.3 pg_engine/app/controllers/pg_engine/base_users_controller.rb
pg_rails-7.5.2 pg_engine/app/controllers/pg_engine/base_users_controller.rb