Sha256: 1b0a940c1580462c21d4ef87f46732ecdf95dae465afa088e5e3e3735fce212e

Contents?: true

Size: 187 Bytes

Versions: 3

Compression:

Stored size: 187 Bytes

Contents

  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

3 entries across 3 versions & 1 rubygems

Version Path
loco-rails-7.0.0.pre lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-6.2.0 lib/generators/loco/file_injector/templates/application_controller.rb
loco-rails-6.1.0 lib/generators/loco/file_injector/templates/application_controller.rb