Created
August 27, 2013 15:05
-
-
Save svs/6354772 to your computer and use it in GitHub Desktop.
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
class FoosController < ApplicationController | |
def index | |
### | |
end | |
def show | |
### | |
end | |
# and so on for seven actions | |
private | |
def sanitize_update_params | |
## munge the params around till they don't look like something the cat dragged in | |
# | |
# | |
end | |
# and so on | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment