Sha256: 2dfca3038ccc61263a03ed880c15ae2ec00100356ac084f919d9e32610f164de

Contents?: true

Size: 206 Bytes

Versions: 8

Compression:

Stored size: 206 Bytes

Contents

module FamilyGallery::BaseFamilyGalleryController
  def current_ability
    @current_ability ||= FamilyGallery::Ability.new(current_user)
  end

  def current_user
    current_family_gallery_user
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
family_gallery-0.0.8 lib/family_gallery/base_family_gallery_controller.rb
family_gallery-0.0.7 lib/family_gallery/base_family_gallery_controller.rb
family_gallery-0.0.6 lib/family_gallery/base_family_gallery_controller.rb
family_gallery-0.0.5 lib/family_gallery/base_family_gallery_controller.rb
family_gallery-0.0.4 lib/family_gallery/base_family_gallery_controller.rb
family_gallery-0.0.3 lib/family_gallery/base_family_gallery_controller.rb
family_gallery-0.0.2 lib/family_gallery/base_family_gallery_controller.rb
family_gallery-0.0.1 lib/family_gallery/base_family_gallery_controller.rb