comparison app/helpers/pastes_helper.rb @ 380:2ddd61aca2c8

I18n. And refactor paste privacy settings form.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:45:49 +0900
parents 7c7b7906ebd9
children 91dabc034389
comparison
equal deleted inserted replaced
379:2ad092e60975 380:2ddd61aca2c8
9 else 9 else
10 url 10 url
11 end 11 end
12 end 12 end
13 end 13 end
14
15 def paste_privacy_options
16 { "public" => "0", "private" => "1" }
17 end
14 end 18 end