minor
This commit is contained in:
parent
529fe6d3de
commit
a0b58fdc2f
@ -1,5 +1,6 @@
|
||||
module Merged
|
||||
class PagesController < MergedController
|
||||
|
||||
before_action :set_page, only: %i[ update destroy show ]
|
||||
|
||||
def index
|
||||
|
@ -1,6 +1,5 @@
|
||||
module Merged
|
||||
class ViewController < ::ApplicationController
|
||||
include MergedHelper
|
||||
|
||||
def view
|
||||
@page = Page.find_by_name(params[:id])
|
||||
|
@ -1,6 +1,5 @@
|
||||
module Merged
|
||||
module ViewHelper
|
||||
include OptionsHelper
|
||||
include MergedHelper
|
||||
|
||||
# background image as inline style
|
||||
|
Loading…
Reference in New Issue
Block a user