repo.or.cz
/
lyrix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Fixed the specs to respect the addition of users
[lyrix.git]
/
app
/
helpers
/
songs_helper.rb
blob
faa3b9cdf307678d8f5e9c97e6b03cd91d13ac64
1
module SongsHelper
2
def slides_for_song(song)
3
RedCloth.new(song.slides.join("<hr />"), [:hard_breaks]).to_html
4
end
5
6
def artist_editor_id(song)
7
"song_artist_#{song.id}_in_place_editor"
8
end
9
end