Sha256: 5cad94c34a5b2013419793f47ac92f7e92d90b7f5d8d815e869001d88893fd0d

Contents?: true

Size: 372 Bytes

Versions: 12

Compression:

Stored size: 372 Bytes

Contents

module Rodauth
  class <%= account_path.classify %>Controller < RodauthController
    # used by Rodauth for rendering views, CSRF protection, and running any
    # registered action callbacks and rescue_from handlers

    private

    def current_account
      rodauth.rails_account
    end

    def rodauth(name = <%= ":#{table_prefix}" %>)
      super
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
plutonium-0.19.2 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.19.1 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.19.0 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.18.8 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.18.7 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.18.6 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.18.5 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.18.4 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.18.3 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.18.2 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.18.1 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt
plutonium-0.18.0 lib/generators/pu/rodauth/templates/app/controllers/plugin_controller.rb.tt