Created
December 15, 2014 15:58
-
-
Save lucasuyezu/cfdc5232a7c210d391e0 to your computer and use it in GitHub Desktop.
example
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
# Bad | |
class BackupsController < ApplicationController | |
def index | |
end | |
def show | |
end | |
# All other REST methods | |
# And then... | |
def restores | |
# List restores (via GET) | |
end | |
def restore | |
# Execute a restore (via POST) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment