flag admin_nsfw

This commit is contained in:
Kyle Drake 2015-07-18 17:10:37 -07:00
parent b85903c4f6
commit 04d1ba7ae4

View file

@ -105,6 +105,7 @@ post '/admin/mark_nsfw' do
end
site.is_nsfw = true
site.admin_nsfw = true
site.save_changes validate: false
flash[:success] = 'MISSION ACCOMPLISHED'