Sha256: 9474610f55cfeecde8f8e2bc74aaea43787945fc107edd81fcdeb7808ef50dcf

Contents?: true

Size: 348 Bytes

Versions: 4

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

module Homeland::Site
  class ApplicationController < ::ApplicationController
    protect_from_forgery with: :exception
    layout "homeland/site/application"

    helper Homeland::Site::ApplicationHelper

    def current_ability
      @current_ability ||= Homeland::Site::Ability.new(current_user)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
homeland-site-0.3.3 app/controllers/homeland/site/application_controller.rb
homeland-site-0.3.2 app/controllers/homeland/site/application_controller.rb
homeland-site-0.3.1 app/controllers/homeland/site/application_controller.rb
homeland-site-0.3.0 app/controllers/homeland/site/application_controller.rb