2009-04-06 2 views
0
우리는 authentication.It 다른 컴퓨터에서 작동하는 내 사용자에 대한 authlogic 사용하고 있지만 내가 (라인 # 20의 주위에) 오류를

는 Authlogic 및 acts_as_authentic 문제

추출 소스를 얻고있다

:

7:   <%= link_to "Home", "/", :title => 'Home', :class => 'header-logo' %> 
18: 
19: 
20:  <span style="padding-left:850px;"> <% if current_user %> 
21:    <%= link_to "My Account", account_path %> 
22:    <%= link_to 'logout', logout_path, :method => :delete, :confirm => "Are you sure you want to logout?" %> 
23:   <%elsif !current_user%> 



app/models/user.rb:2:in `acts_as_authentic' 
app/models/user.rb:2 
app/controllers/application.rb:17:in `current_user_session' 
app/controllers/application.rb:22:in `current_user' 
(eval):2:in `send' 
(eval):2:in `current_user' 
app/views/layouts/application.html.erb:20 

나 제안 무엇 할 것??

+0

위 라인에 오류가 발생합니다. 전체 스택 추적을 붙여 넣으십시오. –

답변