@@ -85,19 +85,21 @@ sub startup ($self) {
8585 $auth -> post( ' /user/settings/email' )-> to( ' User#post_email' )-> name( ' do_user_email' );
8686
8787 # /blog/ routes
88- $r -> get ( ' /blog/:name' )-> to( ' Blog#get_blog' )-> name( ' blog' ); # View A Specific Blog.
89-
90- $auth -> get ( ' /blog/new' )-> to( ' Blog#get_new_blogs' )-> name( ' new_blogs' ); # List pending blogs for approval.
9188 $r -> post ( ' /blog/new' )-> to( ' Blog#post_new_blog' )-> name( ' do_new_blog' ); # Create a new blog.
92- $r -> get ( ' /blog/new/:name' )-> to( ' Blog#get_edit_blog' )-> name( ' edit_new_blog' ); # Get the edit page for a new blog.
93- $r -> post ( ' /blog/new/:name' )-> to( ' Blog#post_edit_blog' )-> name( ' do_edit_new_blog' ); # Post an update with the edit page.
94-
95- $auth -> post( ' /blog/:name/follow' )-> to( ' Blog#post_follow' )-> name( ' do_follow_blog' );
96- $auth -> post( ' /blog/:name/unfollow' )-> to( ' Blog#post_unfollow' )-> name( ' do_unfollow_blog' );
97- $auth -> get ( ' /blog/:name/settings' )-> to( ' Blog#get_settings' )-> name( ' blog_settings' );
98- $auth -> post( ' /blog/:name' )-> to( ' Blog#post_settings' )-> name( ' do_blog_settings' );
99- $auth -> post( ' /blog/:name/publish' )-> to( ' Blog#post_publish' )-> name( ' do_publish' );
100- $auth -> post( ' /blog/:name/unpublish' )-> to( ' Blog#post_unpublish' )-> name( ' do_unpublish' );
89+
90+ # $r->get ( '/view/:id/:name' )->to( 'Blog#get_blog' )->name( 'blog' ); # View A Specific Blog.
91+ #
92+ # $auth->get ( '/blog/new' )->to( 'Blog#get_new_blogs' )->name( 'new_blogs' ); # List pending blogs for approval.
93+ # $r->get ( '/blog/new/:id/:title' )->to( 'Blog#get_edit_blog' )->name( 'edit_new_blog' ); # Get the edit page for a new blog.
94+ # $r->post ( '/blog/new/:name' )->to( 'Blog#post_edit_blog' )->name( 'do_edit_new_blog' ); # Post an update with the edit page.
95+ #
96+ # $auth->post( '/blog/:name/follow' )->to( 'Blog#post_follow' )->name( 'do_follow_blog' );
97+ # $auth->post( '/blog/:name/unfollow' )->to( 'Blog#post_unfollow' )->name( 'do_unfollow_blog' );
98+ # $auth->get ( '/blog/:name/settings' )->to( 'Blog#get_settings' )->name( 'blog_settings' );
99+ # $auth->post( '/blog/:name' )->to( 'Blog#post_settings' )->name( 'do_blog_settings' );
100+ # $auth->post( '/blog/:name/publish' )->to( 'Blog#post_publish' )->name( 'do_publish' );
101+ # $auth->post( '/blog/:name/unpublish' )->to( 'Blog#post_unpublish')->name( 'do_unpublish' );
102+
101103
102104 # /tags/
103105 $r -> get ( ' /tags' )-> to( ' Tags#get_tags' )-> name( ' tags' );
0 commit comments