diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-16 13:37:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2006-12-16 13:37:32 +0000 |
commit | 2b0142580f9c5e0b9dc54d1e338e355b235bb844 (patch) | |
tree | e5128fc007811c52a15391ee773eaae3fdbecdae /app/helpers/queries_helper.rb | |
parent | 236c735d08c097cfe1a7e5f5c52a9dd6711250aa (diff) | |
download | redmine-2b0142580f9c5e0b9dc54d1e338e355b235bb844.tar.gz redmine-2b0142580f9c5e0b9dc54d1e338e355b235bb844.zip |
"queries" branch merged
git-svn-id: http://redmine.rubyforge.org/svn/trunk@95 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/queries_helper.rb')
-rw-r--r-- | app/helpers/queries_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb new file mode 100644 index 000000000..1c0b59570 --- /dev/null +++ b/app/helpers/queries_helper.rb @@ -0,0 +1,6 @@ +module QueriesHelper + + def operators_for_select(filter_type) + Query.operators_by_filter_type[filter_type].collect {|o| [l(Query.operators[o]), o]} + end +end |