<% if logged_in? -%>
Welcome <%= @current_user.login %>
<% else -%>
Welcome Guest
<% end -%>
Welcome to the simple project, written by Lee Hambley as an assessment piece for Zetani
So far, the following parts of the application work, authentication - but not authorization, I'm working on that now :)
<% if logged_in? -%>
<%= @current_user.login %>, here's the breakdown of what you're allowed to do:
<%
@current_user.roles.each {|role|
}
%>
<% end -%>