lib/blogaze/routes.rb in blogaze-0.0.3 vs lib/blogaze/routes.rb in blogaze-0.1.0
- old
+ new
@@ -21,9 +21,10 @@
# User routes
::Ramaze::Route['/login'] = '/sessions/new'
::Ramaze::Route['/logout'] = '/sessions/destroy'
::Ramaze::Route['/register'] = '/users/new'
::Ramaze::Route['/users/create'] = '/users/create'
+ ::Ramaze::Route['/profile'] = '/users/profile'
::Ramaze::Route[/\/sessions(.*)/] = '/sessions%s'
# Page routes
::Ramaze::Route[/^\/([a-zA-Z]+)$/] = '/pages/view'
end