Sha256: 3bdbd7aa14122b0e4ac043997ac6ce6a514dc0c4b5789c67ce4465af517099f5

Contents?: true

Size: 544 Bytes

Versions: 11

Compression:

Stored size: 544 Bytes

Contents

require 'hanami/utils'
require 'hanami/validations'
require 'hanami/router'
require 'hanami/view'
require 'hanami/controller'
require 'hanami/action/glue'
require 'hanami/action/csrf_protection'
require 'hanami/mailer'
require 'hanami/mailer/glue'
require 'hanami/assets'

Hanami::Controller.configure do
  prepare do
    include Hanami::Action::Glue
  end
end

Hanami::Controller::MissingSessionError.class_eval do
  def initialize(session_method)
    super("To use `#{session_method}', please enable sessions for the current app.")
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
hanami-1.3.5 lib/hanami/frameworks.rb
hanami-1.3.4 lib/hanami/frameworks.rb
hanami-1.3.3 lib/hanami/frameworks.rb
hanami-1.3.2 lib/hanami/frameworks.rb
hanami-1.3.1 lib/hanami/frameworks.rb
hanami-1.3.0 lib/hanami/frameworks.rb
hanami-1.3.0.beta1 lib/hanami/frameworks.rb
hanami-1.2.0 lib/hanami/frameworks.rb
hanami-1.2.0.rc2 lib/hanami/frameworks.rb
hanami-1.2.0.rc1 lib/hanami/frameworks.rb
hanami-1.2.0.beta2 lib/hanami/frameworks.rb