Sha256: e66f2efb969755556ea52e2d2c4c2bae23dd5f8c4e39ad8c6ade1429565c4ca5

Contents?: true

Size: 201 Bytes

Versions: 2

Compression:

Stored size: 201 Bytes

Contents

module Theblog
  class ApplicationController < ActionController::Base
    protect_from_forgery with: :exception

    private def menu
      @menu ||= Page.all
    end
    helper_method :menu
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
theblog-0.0.1.1 app/controllers/theblog/application_controller.rb
theblog-0.0.1 app/controllers/theblog/application_controller.rb