diff options
author | Xavier Noria <fxn@hashref.com> | 2010-11-19 21:42:18 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-11-19 21:46:12 +0100 |
commit | 902ae14e650d87bc0ba3d34030c9bb38646c0d9f (patch) | |
tree | d15e25e4b199c751898d5cb1ae0894f484ba0922 /railties/guides/rails_guides | |
parent | 6bd93f672ac1c0c4cfe708745c925b4bbe666947 (diff) | |
download | rails-902ae14e650d87bc0ba3d34030c9bb38646c0d9f.tar.gz rails-902ae14e650d87bc0ba3d34030c9bb38646c0d9f.tar.bz2 rails-902ae14e650d87bc0ba3d34030c9bb38646c0d9f.zip |
guides: gives clear instructions for feedback, removes links to the now archived LH project
Diffstat (limited to 'railties/guides/rails_guides')
-rw-r--r-- | railties/guides/rails_guides/helpers.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/railties/guides/rails_guides/helpers.rb b/railties/guides/rails_guides/helpers.rb index bf99538696..d466c76c7c 100644 --- a/railties/guides/rails_guides/helpers.rb +++ b/railties/guides/rails_guides/helpers.rb @@ -4,19 +4,14 @@ module RailsGuides link = content_tag(:a, :href => url) { name } result = content_tag(:dt, link) - if ticket = options[:ticket] - result << content_tag(:dd, lh(ticket), :class => 'ticket') + if options[:work_in_progress] + result << content_tag(:dd, 'Work in progress', :class => 'work-in-progress') end result << content_tag(:dd, capture(&block)) result end - def lh(id, label = "Lighthouse Ticket") - url = "http://rails.lighthouseapp.com/projects/16213/tickets/#{id}" - content_tag(:a, label, :href => url) - end - def author(name, nick, image = 'credits_pic_blank.gif', &block) image = "images/#{image}" |