]> git.openstreetmap.org Git - rails.git/commit
Better loading of attached images
authorHerve Saint-Amand <git@saintamh.org>
Sun, 1 Jan 2017 22:11:56 +0000 (22:11 +0000)
committerHerve Saint-Amand <git@saintamh.org>
Sun, 1 Jan 2017 22:11:56 +0000 (22:11 +0000)
commitb5ef2be021d84d8e05575d1569bacd3446d148db
treecba8da6f4ddff0f2a26e3d79629c3349508a0492
parent5f663b765a85fe2e7a35493077df89268cb1aab3
Better loading of attached images

Got rid of that big ugly base64 blob which was only a temporary crutch anyway. Added a png file instead. Use File.read rather than File.open for a 66% reduction in verbosity.
app/assets/images/osm_logo_30.png [new file with mode: 0644]
app/models/notifier.rb
app/views/notifier/changeset_comment_notification.html.erb