Integrate admin html and css from sandbox

This commit is contained in:
Amaia Castro
2016-12-29 19:39:06 +01:00
parent 8c5b4d8c74
commit 0cd2b62e2c
19 changed files with 320 additions and 186 deletions

View File

@@ -53,4 +53,8 @@ class Legislation::Process < ActiveRecord::Base
today >= final_publication_date
end
end
def total_comments
questions.map(&:comments_count).sum
end
end