Sha256: cad8ab54f7faad2272dc0e983eb489f6273e9d024e816fafb9c5e1f0b2c2cdbf

Contents?: true

Size: 708 Bytes

Versions: 4

Compression:

Stored size: 708 Bytes

Contents

Detour.configure do |config|
  # config.define_user_group :admins do |user|
  #   user.admin?
  # end

  config.grep_dirs = %w[app/**/*.{rb,erb}]

  config.flaggable_types = %w[User Widget]

  config.define_users_group :admin do |admin|
  end

  config.define_users_group :admin1 do |admin|
  end

  config.define_users_group :admin2 do |admin|
  end

  config.define_users_group :admin3 do |admin|
  end

  config.define_users_group :admin4 do |admin|
  end

  config.define_users_group :admin5 do |admin|
  end

  config.define_users_group :admin6 do |admin|
  end

  config.define_users_group :long_group_name_yup do |admin|
  end

  config.define_users_group "Multi-word Group Name" do |admin|
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
detour-0.0.6 spec/dummy/config/initializers/detour.rb
detour-0.0.5 spec/dummy/config/initializers/detour.rb
detour-0.0.3 spec/dummy/config/initializers/detour.rb
detour-0.0.2 spec/dummy/config/initializers/detour.rb