Sha256: 3a00b7a673edbd07f1b1de844fae6038885483b1d3369286b190c8b7b78c6c3f

Contents?: true

Size: 157 Bytes

Versions: 13

Compression:

Stored size: 157 Bytes

Contents

if get(:authentication).present?
  use_pundit = Ask.confirm("Do you want to use Pundit for authorization?")
  set(:authorization, :pundit) if use_pundit
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
potassium-1.3.5 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.3.4 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.3.3 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.3.2 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.3.0 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.2.4 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.2.3 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.2.2 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.2.1 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.2.0 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.1.0 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.0.1 lib/potassium/templates/application/recipes/asks/pundit.rb
potassium-1.0.0 lib/potassium/templates/application/recipes/asks/pundit.rb