diff options
| author | hukl <contact@smyck.org> | 2009-08-16 00:10:24 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-08-16 00:10:39 +0200 |
| commit | 8c202e546b43298b1ea4d2ad8cf378aaa4647a51 (patch) | |
| tree | 412157695c119f56d6faa7bdd2bc906e1f1c110b /app | |
| parent | 354ac3e285dc17be6304a85ec5a8385c05d3658c (diff) | |
migration to add missing columns and indexes for acts_as_taggable_redux as well as other related modifications
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/page.rb | 2 | ||||
| -rw-r--r-- | app/views/nodes/edit.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/page.rb b/app/models/page.rb index 30f5ec2..b6d6489 100644 --- a/app/models/page.rb +++ b/app/models/page.rb | |||
| @@ -121,7 +121,7 @@ class Page < ActiveRecord::Base | |||
| 121 | self.reload | 121 | self.reload |
| 122 | 122 | ||
| 123 | # Clone untranslated attributes | 123 | # Clone untranslated attributes |
| 124 | self.tag_list = page.tag_list.join(", ") | 124 | self.tag_list = page.tag_list |
| 125 | self.template_name = page.template_name | 125 | self.template_name = page.template_name |
| 126 | self.published_at = page.published_at | 126 | self.published_at = page.published_at |
| 127 | 127 | ||
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index f37a24b..5973a6c 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb | |||
| @@ -23,7 +23,7 @@ | |||
| 23 | <% fields_for @draft do |d| %> | 23 | <% fields_for @draft do |d| %> |
| 24 | <tr> | 24 | <tr> |
| 25 | <td class="description">Tags - comma seperated</td> | 25 | <td class="description">Tags - comma seperated</td> |
| 26 | <td><%= text_field_tag :tag_list, @draft.tag_list.join(", ") %></td> | 26 | <td><%= text_field_tag :tag_list, @draft.tag_list %></td> |
| 27 | </tr> | 27 | </tr> |
| 28 | <tr> | 28 | <tr> |
| 29 | <td class="description">Publish at</td> | 29 | <td class="description">Publish at</td> |
