Sha256: 99a58763301fbd0b13988b2f4d75c2aecd09c5ce1ce0d2d6bd86984faec3d247
Contents?: true
Size: 483 Bytes
Versions: 73
Compression:
Stored size: 483 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::Features::Basecontroller`, which # override its layout and provide all kinds of useful methods. class ApplicationController < Decidim::Features::BaseController def show @page = Page.find_by(feature: current_feature) end end end end
Version data entries
73 entries across 73 versions & 2 rubygems