Refactor PagesController#page_model