diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index d7c9a87..4e35018 100755 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -1,8 +1,11 @@ class SessionsController < ApplicationController - skip_before_filter :authenticated, :only => [:new] + skip_before_filter :authenticated, :only => [:new, :create] def new end + + def create + end end diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 2ec9ecc..c60dfea 100755 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -1,4 +1,11 @@ class UsersController < ApplicationController + + skip_before_filter :authenticated, :only => [:new, :create] + def new end + + def create + end + end diff --git a/app/views/layouts/tutorial/_header.html.erb b/app/views/layouts/tutorial/_header.html.erb index 6a9c0a3..76f59ce 100644 --- a/app/views/layouts/tutorial/_header.html.erb +++ b/app/views/layouts/tutorial/_header.html.erb @@ -4,7 +4,7 @@ <% if not current_user %>