Sha256: d62830ecf2456c1143bef2f3a21bce83b34358c7abd980e3d0942c12e170a9cc
Contents?: true
Size: 491 Bytes
Versions: 88
Compression:
Stored size: 491 Bytes
Contents
# frozen_string_literal: true module Decidim module Pages # This controller is the abstract class from which all other controllers of # this engine inherit. # # Note that it inherits from `Decidim::Components::Basecontroller`, which # override its layout and provide all kinds of useful methods. class ApplicationController < Decidim::Components::BaseController def show @page = Page.find_by(component: current_component) end end end end
Version data entries
88 entries across 88 versions & 1 rubygems