Sha256: 76277c147fbee189c3a2f6aaff1f07ca07cad025c9e9332134d30bf895f946e7

Contents?: true

Size: 244 Bytes

Versions: 9

Compression:

Stored size: 244 Bytes

Contents

class PagesController < ApplicationController

  include Georgia::Concerns::Frontendable

  before_filter :prepare_menus

  private

  def prepare_menus
    @main_menu = Georgia::Menu.find_by_name('Main', include: {links: :contents})
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
georgia-0.7.8 lib/generators/georgia/install/templates/app/controllers/pages_controller.rb
georgia-0.7.7 lib/generators/georgia/install/templates/app/controllers/pages_controller.rb
georgia-0.7.6 lib/generators/georgia/install/templates/app/controllers/pages_controller.rb
georgia-0.7.5 lib/generators/georgia/install/templates/app/controllers/pages_controller.rb
georgia-0.7.4 lib/generators/georgia/install/templates/app/controllers/pages_controller.rb
georgia-0.7.3 lib/generators/georgia/install/templates/app/controllers/pages_controller.rb
georgia-0.7.2 lib/generators/georgia/install/templates/app/controllers/pages_controller.rb
georgia-0.7.1 lib/generators/georgia/install/templates/app/controllers/pages_controller.rb
georgia-0.7.0 lib/generators/georgia/install/templates/app/controllers/pages_controller.rb