beef-pages 0.3.6 → 0.3.7

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.6
1
+ 0.3.7
@@ -106,14 +106,7 @@ class Admin::PagesController < Admin::BaseController
106
106
  end
107
107
 
108
108
  def preview
109
- unless params[:id].nil?
110
- @page = Page.find(params[:id])
111
- @page.attributes = params[:page]
112
- else
113
- @page = Page.new(params[:page])
114
- end
115
-
116
- session[:page_preview] = @page.attributes
109
+ session[:page_preview] = params[:page]
117
110
  end
118
111
 
119
112
  def move_up
@@ -20,7 +20,7 @@
20
20
  <th># Sub Pages</th>
21
21
  <th>Status</th>
22
22
  <th>Author</th>
23
- <th>Updater</th>
23
+ <th>Editor</th>
24
24
  <th>Published At</th>
25
25
  <th>Published To</th>
26
26
  <th colspan="7">Actions</th>
@@ -35,7 +35,7 @@
35
35
  <th># Sub Pages</th>
36
36
  <th>Status</th>
37
37
  <th>Author</th>
38
- <th>Updater</th>
38
+ <th>Editor</th>
39
39
  <th>Published At</th>
40
40
  <th>Published To</th>
41
41
  <th colspan="7">Actions</th>
data/beef-pages.gemspec CHANGED
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{beef-pages}
8
- s.version = "0.3.6"
8
+ s.version = "0.3.7"
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-10-30}
12
+ s.date = %q{2009-11-03}
13
13
  s.email = %q{steve@wearebeef.co.uk}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -61,3 +61,4 @@ Gem::Specification.new do |s|
61
61
  else
62
62
  end
63
63
  end
64
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beef-pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
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-10-30 00:00:00 +00:00
12
+ date: 2009-11-03 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies: []
15
15