def create_post_portlet_page
      page = Cms::Page.find_by_name(portlet_name = "#{@blog.name}: Post") || Cms::Page.create!(
        :name => portlet_name,
        :path => "/#{@blog.name_for_path}/post",
        :section => @section,
        :template_file_name => "default.html.erb",
        :hidden => true)
      page.publish
      create_route(page, portlet_name, "/#{@blog.name_for_path}/:year/:month/:day/:slug")
      create_portlet(page, portlet_name, BlogPostPortlet)
    end
def create_post_portlet_page
      page = Cms::Page.find_by_name(portlet_name = "#{@blog.name}: Post") || Cms::Page.create!(
        :name => portlet_name,
        :path => "/#{@blog.name_for_path}/post",
        :section => @section,
        :template_file_name => "default.html.erb",
        :hidden => true)
      page.publish
      create_route(page, portlet_name, "/#{@blog.name_for_path}/:year/:month/:day/:slug")
      create_portlet(page, portlet_name, BlogPostPortlet)
    end
The second page that is created holds the BlogPostPortlet and displays the individual
 post view, along with it's comments.