ensl.org/app/views/articles/news_archive.html.erb

7 lines
188 B
Text
Raw Normal View History

<h1>News Archive</h1>
<%= render partial: 'list', locals: { articles: @news } %>
<% if cuser and cuser.admin? %>
2020-03-18 21:50:26 +00:00
<%= link_to 'New Article', new_article_path, class: 'button' %>
<% end %>