Sha256: 3e0ecb740faf7bc445bbe9b1ec71f32772c84daccce9828a620bfc36b9f627b7

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

# frozen_string_literal: true

class ContactsController < ApplicationController
  before_action :find_structure

  caches_page :index

  def index
    respond_with @structure
  end

  private

  def find_structure
    load_structure(StructureType.contacts)
    @success_text = ContentStorageType.feedback_success.content!
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/controllers/contacts_controller.rb