Skip to content
This repository
Browse code

Merge pull request #4617 from sachin87/remove_repetition

alias_method added
  • Loading branch information...
commit e3f26f00486354d58b6c069747d02c236546949f 2 parents 6785001 + c976d2c
José Valim josevalim authored

Showing 1 changed file with 1 addition and 4 deletions. Show diff stats Hide diff stats

  1. +1 4 actionpack/lib/action_view/flows.rb
5 actionpack/lib/action_view/flows.rb
@@ -22,11 +22,8 @@ def set(key, value)
22 22 def append(key, value)
23 23 @content[key] << value
24 24 end
  25 + alias_method :append!, :append
25 26
26   - # Called by provide
27   - def append!(key, value)
28   - @content[key] << value
29   - end
30 27 end
31 28
32 29 class StreamingFlow < OutputFlow #:nodoc:

0 comments on commit e3f26f0

Please sign in to comment.
Something went wrong with that request. Please try again.