app/controllers/ckpages/pages_controller.rb
def new
      @page = Page.new(path: '/')

      if params[:path].present?
        @page.path = CGI::unescape(params[:path])
      end
    end
def new
      @page = Page.new(path: '/')

      if params[:path].present?
        @page.path = CGI::unescape(params[:path])
      end
    end
GET /pages/new