informativo basico

This commit is contained in:
lontra
2019-05-29 21:06:15 +03:00
parent 102301019b
commit 7eb4842141
16 changed files with 68 additions and 82 deletions

5
app/views/page/home.haml Normal file
View File

@@ -0,0 +1,5 @@
%h3= "#{@informativos.count} informativos"
- @informativos.each do |i|
%p= link_to "#{i.data_inc} > #{i.titulo}", "/informativo/#{i.id}"
= will_paginate @informativos