Sha256: 534f8316e4dce17765078166b98b43318d54e1a2386d4837c5915ce970da16cd
Contents?: true
Size: 324 Bytes
Versions: 77
Compression:
Stored size: 324 Bytes
Contents
class UsersController < ApplicationController def index @users = User.all(:order => "username ASC") respond_to do |format| format.json { render "users/index" } end end def show @user = User.find(params[:id]) respond_to do |format| format.json { render "users/show" } end end end
Version data entries
77 entries across 77 versions & 2 rubygems