Created
December 3, 2012 16:57
-
-
Save buoyant/4196309 to your computer and use it in GitHub Desktop.
controller file of registration form
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
def dynamic_districts | |
@districts = District.find_all_by_state_id(params[:id]) | |
respond_to do |format| | |
format.js | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment