Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed unnecessary block when using fetch

  • Loading branch information...
commit f58ff6147311c1ce62d02a9d03f4f451281e49db 1 parent 87b30fb
@morgoth morgoth authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/helpers/atom_feed_helper.rb
View
2  actionpack/lib/action_view/helpers/atom_feed_helper.rb
@@ -189,7 +189,7 @@ def entry(record, options = {})
@xml.updated((options[:updated] || record.updated_at).xmlschema)
end
- type = options.fetch(:type) { 'text/html' }
+ type = options.fetch(:type, 'text/html')
@xml.link(:rel => 'alternate', :type => type, :href => options[:url] || @view.polymorphic_url(record))
Please sign in to comment.
Something went wrong with that request. Please try again.