aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/rails_guides/helpers.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-11-19 21:42:18 +0100
committerXavier Noria <fxn@hashref.com>2010-11-19 21:46:12 +0100
commit902ae14e650d87bc0ba3d34030c9bb38646c0d9f (patch)
treed15e25e4b199c751898d5cb1ae0894f484ba0922 /railties/guides/rails_guides/helpers.rb
parent6bd93f672ac1c0c4cfe708745c925b4bbe666947 (diff)
downloadrails-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/helpers.rb')
-rw-r--r--railties/guides/rails_guides/helpers.rb9
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}"