Skip to content
Browse files

remove rails scaffold crap

  • Loading branch information...
1 parent 6a344e5 commit 7754a49faaeaaf778e8f5d444e9247dd62f3fe51 Dave Kroondyk committed Mar 18, 2013
Showing with 1 addition and 15 deletions.
  1. +1 −15 app/controllers/athletes_controller.rb
View
16 app/controllers/athletes_controller.rb
@@ -1,24 +1,10 @@
class AthletesController < ApplicationController
- # GET /athletes
- # GET /athletes.json
def index
- # @athletes = Athlete.all
@athletes = Athlete.order("total asc")
-
- respond_to do |format|
- format.html # index.html.erb
- format.json { render json: @athletes }
- end
end
- # GET /athletes/1
- # GET /athletes/1.json
def show
@athlete = Athlete.find(params[:id])
-
- respond_to do |format|
- format.html # show.html.erb
- format.json { render json: @athlete }
- end
end
end
+

0 comments on commit 7754a49

Please sign in to comment.
Something went wrong with that request. Please try again.