Sha256: 6b1697239c7ffcb0b3301553f55f070a10de2d0c6d2681c61918fe9d333f399d

Contents?: true

Size: 212 Bytes

Versions: 34

Compression:

Stored size: 212 Bytes

Contents

  include Loco::Emitter

  def loco_permissions
    # specify an array of method names which you use to determine
    # if given resource is signed-in
    # e.g.
    # [current_user, current_admin]
    []
  end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
loco-rails-6.0.0 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-5.0.0 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-4.1.1 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-4.1.0 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-4.0.0 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-3.0.6 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-3.0.5 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-3.0.4 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-3.0.3 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-2.5.3 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-2.5.2 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-3.0.2 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-3.0.1 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-2.5.1 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-2.5.0 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-2.4.0 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-2.3.0 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-3.0.0 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-2.2.2 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-2.2.1 lib/generators/loco/file_injector/templates/application_controller.rb