mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
6aa8903c11
Improve news archive
7 lines
No EOL
190 B
Text
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 %> |