fix for rating

This commit is contained in:
albert
2013-02-21 18:29:59 -05:00
parent ab9c0d13d7
commit 804055aac7

View File

@@ -13,7 +13,7 @@ class LegacyController < ApplicationController
@upload.source = params[:post][:source]
@upload.tag_string = params[:post][:tags]
@upload.parent_id = params[:post][:parent_id]
@upload.rating = params[:post][:rating][0]
@upload.rating = params[:post][:rating][0].downcase
@upload.md5_confirmation = params[:md5] if params[:md5].present?
@upload.save
@upload.delay.process!