Skip to content

Commit

Permalink
Fix non-initialized variable @scope for Rendering::Scope
Browse files Browse the repository at this point in the history
  • Loading branch information
jodosha committed Mar 22, 2016
1 parent 617b553 commit 14dbbc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/hanami/view/rendering/scope.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def initialize(view, locals = {})
@view = view
@locals = locals
@layout = layout
@scope = nil
end

# Returns an inspect String
Expand Down

0 comments on commit 14dbbc4

Please sign in to comment.