re derive from app application, but use merged layout
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
module Merged
|
||||
class MergedController < ApplicationController
|
||||
class MergedController < ::ApplicationController
|
||||
before_action :authenticate_member!
|
||||
layout "merged/application"
|
||||
end
|
||||
end
|
||||
|
@ -6,7 +6,7 @@ module Merged
|
||||
blog.sections.last
|
||||
end
|
||||
def last_blog
|
||||
self.class.last_blog
|
||||
PagesHelper.last_blog
|
||||
end
|
||||
|
||||
def header_list
|
||||
|
@ -2,7 +2,7 @@
|
||||
%html
|
||||
%head
|
||||
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
|
||||
%title Hubfeenix
|
||||
%title Merged CMS
|
||||
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
|
||||
= csrf_meta_tags
|
||||
= csp_meta_tag
|
||||
|
Reference in New Issue
Block a user