Sha256: de1d98f68aac83f2fcb12c2f0a8629cffa640870c1f162c7087c6036b8e859d9

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 Bytes

Contents

class PagesController < ApplicationController

  include Georgia::Concerns::Frontendable

  before_filter :prepare_menus

  private

  def prepare_menus
    @main_menu = Georgia::Menu.where(name: 'Main').includes(links: :contents).first
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.8.0 lib/generators/georgia/install/templates/app/controllers/pages_controller.rb