artemk-ckeditor 3.4.4 → 3.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/ckeditor_controller.rb +3 -2
- data/lib/ckeditor/version.rb +1 -1
- metadata +3 -3
@@ -5,8 +5,9 @@ class CkeditorController < ApplicationController
|
|
5
5
|
|
6
6
|
# GET /ckeditor/images
|
7
7
|
def images
|
8
|
-
|
9
|
-
|
8
|
+
user_id = current_user.id if (respond_to?(:current_user) && current_user)
|
9
|
+
@images = Ckeditor.image_model.find(:all, :order=>"id DESC", :conditions => {:user_id => user_id})
|
10
|
+
|
10
11
|
respond_to do |format|
|
11
12
|
format.html {}
|
12
13
|
format.xml { render :xml=>@images }
|
data/lib/ckeditor/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: artemk-ckeditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 3
|
8
|
+
- 5
|
8
9
|
- 4
|
9
|
-
|
10
|
-
version: 3.4.4
|
10
|
+
version: 3.5.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Igor Galeta
|