diff options
author | Blake Barnett <bdb@bdb-debvm1.stanford.edu> | 2008-02-28 22:55:55 -0800 |
---|---|---|
committer | Blake Barnett <bdb@bdb-debvm1.stanford.edu> | 2008-02-28 22:55:55 -0800 |
commit | 9b07758e02fc7347cc4a39ca17fc76a3f95d584f (patch) | |
tree | 21f0e2612029b55603ac217334ec3d1369c68096 /lib/puppet/rails/param_value.rb | |
parent | 5d3dd9e718cbe69b2fe7f37bc3ec422c88a1080b (diff) | |
download | puppet-9b07758e02fc7347cc4a39ca17fc76a3f95d584f.tar.gz puppet-9b07758e02fc7347cc4a39ca17fc76a3f95d584f.tar.xz puppet-9b07758e02fc7347cc4a39ca17fc76a3f95d584f.zip |
* Tweaks for puppetshow UI cleanup
Diffstat (limited to 'lib/puppet/rails/param_value.rb')
-rw-r--r-- | lib/puppet/rails/param_value.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/rails/param_value.rb b/lib/puppet/rails/param_value.rb index 02c29c540..fc00a43d4 100644 --- a/lib/puppet/rails/param_value.rb +++ b/lib/puppet/rails/param_value.rb @@ -20,5 +20,9 @@ class Puppet::Rails::ParamValue < ActiveRecord::Base self[:value] = val end end + + def to_label + "#{self.param_name.name}" + end end |