rename home page to root page
This commit is contained in:
parent
5570a2dfbf
commit
bd9ef6d286
|
@ -1,7 +1,7 @@
|
|||
class PagesController < ApplicationController
|
||||
|
||||
def index
|
||||
@page = Page.find_by_name('home')
|
||||
@page = Page.find_by_name('root')
|
||||
if @page
|
||||
render_liquid_page
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue