# File examples/dropbox_controller.rb, line 31 def main client = get_dropbox_client unless client redirect_to(:action => 'auth_start') and return end account_info = client.account_info # Show a file upload page render :inline => "#{account_info['email']} <br/><%= form_tag({:action => :upload}, :multipart => true) do %><%= file_field_tag 'file' %><%= submit_tag 'Upload' %><% end %>" end