rename route to page (because that is what we show

This commit is contained in:
2023-01-08 14:25:49 +02:00
parent e09f2935f1
commit e823ac9d16
3 changed files with 3 additions and 3 deletions

View File

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