Sha256: e23f8bd500612dfdc57542f746192ceb7d26ada369e41275fee3ddf527dce022
Contents?: true
Size: 563 Bytes
Versions: 1
Compression:
Stored size: 563 Bytes
Contents
# frozen_string_literal: true require "permisi" Permisi.init do |config| # Define which backend to use # See https://github.com/ukazap/permisi#configuring-backend config.backend = :active_record # Define all permissions available in the system # See https://github.com/ukazap/permisi#configuring-permissions config.permissions = {} # Define cache store # See https://github.com/ukazap/permisi#caching config.cache_store = Rails.cache # Mute pre-0.1.4 ActiveRecord backend initialization warning config.mute_pre_0_1_4_warning = true end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
permisi-0.1.5 | lib/generators/permisi/templates/initializer.rb |