diff options
| author | hukl <contact@smyck.org> | 2009-10-20 23:30:39 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-10-20 23:30:39 +0200 |
| commit | 20056a0e9b4f96680ca0c643166885f65dcd0be7 (patch) | |
| tree | a52396b8781ceacfbc33715d6b360a9bb32a77a7 /app/helpers | |
| parent | 8d8b530e2c9f5e2debb2d6abb421187c31733c34 (diff) | |
allow to overwrite the original user in edit view
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/nodes_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/helpers/nodes_helper.rb b/app/helpers/nodes_helper.rb index 79e75dc..d889719 100644 --- a/app/helpers/nodes_helper.rb +++ b/app/helpers/nodes_helper.rb | |||
| @@ -21,6 +21,9 @@ module NodesHelper | |||
| 21 | Page.custom_templates.map {|x| [x.gsub("_", " ").titlecase, x]} | 21 | Page.custom_templates.map {|x| [x.gsub("_", " ").titlecase, x]} |
| 22 | end | 22 | end |
| 23 | 23 | ||
| 24 | def user_list | ||
| 25 | User.all.map {|u| [u.login, u.id]} | ||
| 26 | end | ||
| 24 | 27 | ||
| 25 | def event_information | 28 | def event_information |
| 26 | if @node.event | 29 | if @node.event |
