redactor-rails 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ class RedactorRails::PicturesController < ApplicationController
|
|
11
11
|
@picture.data = RedactorRails::Http.normalize_param(file, request)
|
12
12
|
|
13
13
|
if @picture.save
|
14
|
-
render :text =>
|
14
|
+
render :text => { :filelink => @picture.url }.to_json
|
15
15
|
else
|
16
16
|
render :nothing => true
|
17
17
|
end
|
metadata
CHANGED