Sha256: 99b7b8b587465764a7652de4d94ce5ac694e44c33f7be42977c0f9b892ce05d8
Contents?: true
Size: 381 Bytes
Versions: 17
Compression:
Stored size: 381 Bytes
Contents
# frozen_string_literal: true require 'rack/contrib' module Osso module AppConfig def self.included(klass) klass.class_eval do use Rack::JSONBodyParser use Rack::Session::Cookie, secret: ENV.fetch('SESSION_SECRET') error ActiveRecord::RecordNotFound do status 404 end set :root, Dir.pwd end end end end
Version data entries
17 entries across 17 versions & 1 rubygems