diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-05 22:57:20 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-05 22:57:20 +0000 |
commit | db110304105a7758ee2d3be496c91d037f16425f (patch) | |
tree | d63e0910e76753cdf9ac72a93868787edab78307 /app/helpers/journals_helper.rb | |
parent | cbe266079e9105c61bbda84c5cef89927548fcfe (diff) | |
download | redmine-db110304105a7758ee2d3be496c91d037f16425f.tar.gz redmine-db110304105a7758ee2d3be496c91d037f16425f.zip |
Refactor: move method to model. (references r4057)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4062 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/journals_helper.rb')
-rw-r--r-- | app/helpers/journals_helper.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/helpers/journals_helper.rb b/app/helpers/journals_helper.rb index 990bfb1e5..c8d53f253 100644 --- a/app/helpers/journals_helper.rb +++ b/app/helpers/journals_helper.rb @@ -39,11 +39,4 @@ module JournalsHelper onclick = "new Ajax.Request('#{url_for(url)}', {asynchronous:true, evalScripts:true, method:'get'}); return false;" link_to text, '#', options.merge(:onclick => onclick) end - - def css_journal_classes(journal) - s = 'journal' - s << ' has-notes' unless journal.notes.blank? - s << ' has-details' unless journal.details.blank? - s - end end |