georgi-shinmun 0.4 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ <%= render '_comments.rhtml', :comments => @comments %>
@@ -27,10 +27,10 @@ Shinmun::Blog.map do
27
27
 
28
28
  comments '/comments' do
29
29
  if params['preview'] == 'true'
30
- render '_comments.rhtml', :comments => [Shinmun::Comment.new(params)]
30
+ render 'comments.rhtml', :comments => [Shinmun::Comment.new(params)], :layout => false
31
31
  else
32
32
  post_comment(params['path'], params)
33
- render '_comments.rhtml', :comments => comments_for(params['path'])
33
+ render 'comments.rhtml', :comments => comments_for(params['path']), :layout => false
34
34
  end
35
35
  end
36
36
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: georgi-shinmun
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.4"
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Georgi
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-04-13 00:00:00 -07:00
12
+ date: 2008-04-20 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -84,6 +84,7 @@ files:
84
84
  - example/pages/about.md
85
85
  - example/templates/_comment_form.rhtml
86
86
  - example/templates/_comments.rhtml
87
+ - example/templates/comments.rhtml
87
88
  - example/templates/_pagination.rhtml
88
89
  - example/templates/archive.rhtml
89
90
  - example/templates/category.rhtml