spree/spree — pull request #5765 by BenMorganIO (2014-12-12 18:58:00+00:00)
Title: Stock locations controller refactor

Finding the default country probably shouldn't be in the controller... In this PR I move a lot of the `set_country` functionality out to the country model giving Spree a `Spree::Country#default` method. Will provide a unit test.