mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-20 22:24:09 +01:00
Updated to svn tags/tracks-1.6
This commit is contained in:
parent
103fcb8049
commit
02496f2d44
2274 changed files with 0 additions and 0 deletions
5
app/helpers/notes_helper.rb
Normal file
5
app/helpers/notes_helper.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
module NotesHelper
|
||||
def truncated_note(note, characters = 50)
|
||||
sanitize(textilize_without_paragraph(truncate(note.body, characters, "...")))
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue