Sha256: a940dcbd6ab87a34d33237b0040f895effed1d6160fd0e3bb1303784b14e5acc

Contents?: true

Size: 332 Bytes

Versions: 3

Compression:

Stored size: 332 Bytes

Contents

if equals?(:authentication, :devise)
  admin_mode = Ask.confirm "Do you want to use ActiveAdmin?"
  if admin_mode
    admin_mode = Ask.confirm "Do you really want to use ActiveAdmin?"
    if admin_mode
      admin_mode = Ask.confirm "Do you really, really want to use ActiveAdmin?"
    end
  end

  set(:admin_mode, admin_mode)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
potassium-1.1.0 lib/potassium/templates/application/recipes/asks/admin.rb
potassium-1.0.1 lib/potassium/templates/application/recipes/asks/admin.rb
potassium-1.0.0 lib/potassium/templates/application/recipes/asks/admin.rb