beef-articles 0.3.32 → 0.3.33

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.32
1
+ 0.3.33
@@ -84,7 +84,9 @@ class Admin::ArticlesController < Admin::BaseController
84
84
  end
85
85
  end
86
86
 
87
- def preview
88
- session[:article_preview] = params[:article]
87
+ def preview
88
+ @article = Article.find(params[:id])
89
+ @article.attributes = params[:article]
90
+ session[:article_preview] = @article.attributes
89
91
  end
90
92
  end
data/articles.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{articles}
8
- s.version = "0.3.32"
8
+ s.version = "0.3.33"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Steve England"]
12
- s.date = %q{2009-09-14}
12
+ s.date = %q{2009-09-24}
13
13
  s.email = %q{steve@wearebeef.co.uk}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beef-articles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.32
4
+ version: 0.3.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve England
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-14 00:00:00 -07:00
12
+ date: 2009-09-24 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -83,6 +83,7 @@ files:
83
83
  - test/test_helper.rb
84
84
  has_rdoc: false
85
85
  homepage: http://github.com/beef/articles
86
+ licenses:
86
87
  post_install_message:
87
88
  rdoc_options:
88
89
  - --charset=UTF-8
@@ -103,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
104
  requirements: []
104
105
 
105
106
  rubyforge_project:
106
- rubygems_version: 1.2.0
107
+ rubygems_version: 1.3.5
107
108
  signing_key:
108
109
  specification_version: 3
109
110
  summary: Article/Blogging engine