blacklight_user_generated_content 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.files = `git ls-files`.split("\n")
|
9
9
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
10
10
|
s.require_paths = ["lib"]
|
11
|
-
s.version = "0.0.
|
11
|
+
s.version = "0.0.5"
|
12
12
|
|
13
13
|
s.add_dependency "rails", "~> 3.0"
|
14
14
|
s.add_dependency "blacklight" #, "~> 3.0"
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module BlacklightUserGeneratedContent::Helper
|
2
2
|
def render_document_partial doc, action_name
|
3
3
|
str = super(doc, action_name)
|
4
|
-
str += render :partial => "
|
4
|
+
str += render :partial => "user_generated_content/_#{action_name}_partials/ugc", :locals => { :document => doc }
|
5
5
|
|
6
6
|
str.html_safe
|
7
7
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blacklight_user_generated_content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Beer
|