Skip to content

Commit

Permalink
Fix bug on false defaults_to_stitch
Browse files Browse the repository at this point in the history
  • Loading branch information
sagmor committed Feb 13, 2012
1 parent 94266e5 commit 3a8b127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/strockets/config.rb
Expand Up @@ -12,7 +12,7 @@ def namespace=(namespace)
end

def defaults_to_stitch?
@defaults_to_stitch || true
@defaults_to_stitch.nil? ? true : @defaults_to_stitch
end
alias_method :defaults_to_stitch, :defaults_to_stitch?

Expand Down

0 comments on commit 3a8b127

Please sign in to comment.