minor
This commit is contained in:
parent
529fe6d3de
commit
a0b58fdc2f
@ -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
|
||||||
|
@ -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])
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user