Refactored login module. Implemented standard sessions controller.

This commit is contained in:
benni 2011-05-11 13:38:46 +02:00
parent b1a700ab5d
commit e40f865c45
13 changed files with 89 additions and 332 deletions

View file

@ -108,7 +108,7 @@ module ApplicationHelper
# to set a title for both the h1-tag and the title in the header
def title(page_title, show_title = true)
@content_for_title = page_title.to_s
content_for(:title) { page_title.to_s }
@show_title = show_title
end

View file

@ -0,0 +1,2 @@
module SessionsHelper
end