ensl.org/app/views/articles/news_archive.html.erb
Luke Barratt eee037b42c Update button copy
Improve news archive
2014-05-02 09:06:12 +01:00

7 lines
No EOL
190 B
Text

<h1>News Archive</h1>
<%= render partial: 'list', locals: { articles: @news } %>
<% if cuser and cuser.admin? %>
<%= link_to 'New Article', new_article_path, class: 'button' %>
<% end %>