Sha256: 12584ea97ac79f6854dfb822b3f8533b206e287105aa9f51514785dfb35af9ae
Contents?: true
Size: 327 Bytes
Versions: 1
Compression:
Stored size: 327 Bytes
Contents
# frozen_string_literal: true class CompanyController < ApplicationController before_action :find_structure caches_page :index def index @composite = structure_by(slug: 'company-page-composite') respond_with @structure end private def find_structure load_structure(StructureType.company) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
translation_cms-0.1.5 | app/controllers/company_controller.rb |