Controle de versoes para noticias e eventos
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
= "Evento " + link_to(h(entry.event.title), course_event_url(entry.course, entry.event))
|
||||
= "Evento " + link_to(h(entry.event.title), course_event_url(entry.course, entry.event, :version => entry.version))
|
||||
|
||||
= "criado " if entry.kind_of?(EventCreateLogEntry)
|
||||
= "editado " if entry.kind_of?(EventEditLogEntry)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
= "Notícia " + link_to(h(entry.news.title), course_news_url(entry.course, entry.news))
|
||||
= "Notícia " + link_to(h(entry.news.title), course_news_url(entry.course, entry.news, :version => entry.version))
|
||||
|
||||
= "criada " if entry.kind_of?(NewsCreateLogEntry)
|
||||
= "editada " if entry.kind_of?(NewsEditLogEntry)
|
||||
|
||||
Reference in New Issue
Block a user