Created
January 13, 2015 16:49
-
-
Save sirupsen/3b3762c74355f42ac7bc to your computer and use it in GitHub Desktop.
Example for blog post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def load_customer | |
if customer_id = session[:customer_id] | |
@customer = Customer.find_by_id(customer_id) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment