-
-
Save traviskroberts/3de909983a39e7a99d41 to your computer and use it in GitHub Desktop.
This file contains 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
class Api::AccountsController < Api::BaseController | |
before_filter :require_user | |
respond_to :json | |
def index | |
respond_with current_user.accounts | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment