use_tinymce 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -2
- data/lib/use_tinymce/use_tinymce.rb +2 -2
- metadata +2 -2
data/Rakefile
CHANGED
@@ -26,8 +26,8 @@ module UseTinymce
|
|
26
26
|
if defined? Rails
|
27
27
|
module Link
|
28
28
|
def use_tinymce_link
|
29
|
-
javascript_include_tag 'tinymce/jscripts/tiny_mce/tiny_mce', 'use_tinymce_init' \
|
30
|
-
if defined?
|
29
|
+
javascript_include_tag( 'tinymce/jscripts/tiny_mce/tiny_mce', 'use_tinymce_init' ) \
|
30
|
+
if defined?(params) && use_tinymce?(params[:action])
|
31
31
|
end
|
32
32
|
end
|
33
33
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: use_tinymce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Mike Howard
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-04-
|
13
|
+
date: 2011-04-30 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description: |-
|