Created
April 15, 2011 23:49
-
-
Save joshrendek/922668 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
def installer_files | |
render :layout => nil | |
file_name = params[:file] | |
#if file_name == 'core' | |
# render :text => File.open(RAILS_ROOT + "/agents/bar.py", "r").to_s | |
#elsif file_name == 'services' | |
# | |
#else | |
# render :text => 'foo' | |
#end | |
render :text => "test" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment