Skip to content

Commit

Permalink
[^] AssignsNote#protected_instance_variables was deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
nordringrayhide committed Sep 23, 2011
1 parent d50759a commit 23cd2a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/rails-footnotes/notes/assigns_note.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def assigns
ignored = @@ignored_assigns

@controller.instance_variables.each {|x| assign << x.intern }
@controller.protected_instance_variables.each {|x| ignored << x.intern } if @controller.respond_to? :protected_instance_variables

assign -= ignored
return assign
Expand Down

0 comments on commit 23cd2a4

Please sign in to comment.