mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-05-30 00:11:31 +00:00
Improve news page layout
Fix forums unread icon Fix double linebreaks in BBcode Increase colour darkness
This commit is contained in:
parent
b709d11783
commit
5ed4dd1891
15 changed files with 73 additions and 26 deletions
|
@ -6,7 +6,7 @@ class ArticlesController < ApplicationController
|
|||
end
|
||||
|
||||
def news_index
|
||||
@news = Article.with_comments.ordered.limited.nodrafts.onlynews
|
||||
@news = Article.with_comments.ordered.nodrafts.onlynews.limit(10)
|
||||
@categories = Category.ordered.domain(Category::DOMAIN_NEWS)
|
||||
@nobody = true
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue