glebtv-ckeditor 4.5.10.2 → 4.5.10.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96a497354f4051ac40c539977ae4e9cbba18696b
|
4
|
+
data.tar.gz: 72f9293153bf4144dba173b16d8ecd3552d1f775
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67933727a02fa87e776acc5e818d58d79984976a8be21ca2bf018bec96cd31b2aba318e4f9cc0769b6c395d80fed5553e2a0c1049ca5c59a1f4828312f476ac4
|
7
|
+
data.tar.gz: d6da378864d7c878a91ed75e8245a968a027b8b465fb93d79594b5887feff839366fd42b3a6266ad81b1a6124dbd530581a57ea2d12405da2f17f69a61514838
|
@@ -1,9 +1,9 @@
|
|
1
1
|
class Ckeditor::ApplicationController < Ckeditor.parent_controller.constantize
|
2
2
|
layout 'ckeditor/application'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
before_action :find_asset, :only => [:destroy]
|
5
|
+
before_action :ckeditor_authorize!
|
6
|
+
before_action :authorize_resource
|
7
7
|
|
8
8
|
protected
|
9
9
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class Ckeditor::AttachmentFilesController < Ckeditor::ApplicationController
|
2
|
-
|
2
|
+
skip_before_action :verify_authenticity_token, only: :create
|
3
3
|
|
4
4
|
def index
|
5
5
|
@attachments = Ckeditor.attachment_file_adapter.find_all(ckeditor_attachment_files_scope)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class Ckeditor::PicturesController < Ckeditor::ApplicationController
|
2
|
-
|
2
|
+
skip_before_action :verify_authenticity_token, only: :create
|
3
3
|
|
4
4
|
def index
|
5
5
|
@pictures = Ckeditor.picture_adapter.find_all(ckeditor_pictures_scope)
|
data/lib/ckeditor/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glebtv-ckeditor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.5.10.
|
4
|
+
version: 4.5.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebtv
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-08-
|
12
|
+
date: 2016-08-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocaine
|