Skip to content
the-teacher edited this page Jul 19, 2012 · 2 revisions
<h1>Welcome#index</h1>
<p>Find me in app/views/welcome/index.html.erb</p>

<% if user.has_role? :welcome, :index %>
  Secret content
<% else %>
  Access Denied
<% end %>