Change param to permalink for page model