changeset 7: | ac1024130232 |
parent: | 584d445b6069 |
author: | moriq@moriq.com |
date: | Wed Mar 05 03:57:54 2008 +0900 (16 years ago) |
permissions: | -rw-r--r-- |
description: | generate authenticated again. mercurial import したときに db/migrate lib が消えてた。orz |
1<h1>Welcome</h1>23<%-if logged_in?-%>4<p><strong>You are logged in as <%=h current_user.login %>.</strong></p>5<p><%= link_to 'Logout', session_path, :method => :delete %></p>6<%-else-%>7<p><strong>You are currently not logged in.</strong></p>8<p>9 <%= link_to 'Login', new_session_path %> or10 <%= link_to 'Sign Up', new_user_path %>11</p>12<%-end-%>