rename route to page (because that is what we show
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
module Merged
|
||||
class ViewController < ::ApplicationController
|
||||
|
||||
def view
|
||||
def page
|
||||
@page = Page.find_by_name(params[:id])
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user