This commit is contained in:
Torsten 2022-12-21 00:32:57 +02:00
parent 529fe6d3de
commit a0b58fdc2f
3 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,6 @@
module Merged module Merged
class PagesController < MergedController class PagesController < MergedController
before_action :set_page, only: %i[ update destroy show ] before_action :set_page, only: %i[ update destroy show ]
def index def index

View File

@ -1,6 +1,5 @@
module Merged module Merged
class ViewController < ::ApplicationController class ViewController < ::ApplicationController
include MergedHelper
def view def view
@page = Page.find_by_name(params[:id]) @page = Page.find_by_name(params[:id])

View File

@ -1,6 +1,5 @@
module Merged module Merged
module ViewHelper module ViewHelper
include OptionsHelper
include MergedHelper include MergedHelper
# background image as inline style # background image as inline style