Sha256: 457295e6f4cd057506ff1e5e0471b377605a26c1504b5cbaa11701c0264c0953

Contents?: true

Size: 478 Bytes

Versions: 4

Compression:

Stored size: 478 Bytes

Contents

module Enki
  class ApplicationController < ::ApplicationController

    include Enki::ApplicationHelper
    include Enki::DateHelper
    include Enki::FormHelper
    include Enki::NavigationHelper
    include Enki::PageTitleHelper
    include Enki::PostsHelper
    include Enki::TagHelper
    include Enki::UrlHelper
    include Enki::HostHelper

    protected

    def require_login
      raise NotLoggedInError unless respond_to?(:logged_in?) && logged_in?
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 app/controllers/enki/application_controller.rb
enki-engine-0.0.4 app/controllers/enki/application_controller.rb
enki-engine-0.0.3 app/controllers/enki/application_controller.rb
enki-engine-0.0.2 app/controllers/enki/application_controller.rb