Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

basic application that returns "hello world"

  • Loading branch information...
commit 4bebbd8a9535da1335d24043840f9182442b9030 1 parent 4514773
@tenderlove authored
Showing with 3 additions and 8 deletions.
  1. +2 −2 Gemfile.lock
  2. +1 −6 app/controllers/users_controller.rb
View
4 Gemfile.lock
@@ -63,10 +63,10 @@ GEM
thor (0.14.6)
treetop (1.4.9)
polyglot (>= 0.3.1)
- tzinfo (0.3.28)
+ tzinfo (0.3.27)
PLATFORMS
- ruby
+ java
DEPENDENCIES
rails (= 3.0.7)
View
7 app/controllers/users_controller.rb
@@ -2,12 +2,7 @@ class UsersController < ApplicationController
# GET /users
# GET /users.xml
def index
- @users = User.all
-
- respond_to do |format|
- format.html # index.html.erb
- format.xml { render :xml => @users }
- end
+ render :text => 'hello world'
end
# GET /users/1
Please sign in to comment.
Something went wrong with that request. Please try again.