mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-15 19:58:08 +01:00
start on done overview page
This commit is contained in:
parent
01057af684
commit
559a02d6f1
10 changed files with 127 additions and 32 deletions
|
|
@ -5,7 +5,6 @@ class UsersController < ApplicationController
|
|||
|
||||
# GET /users GET /users.xml
|
||||
def index
|
||||
@users = User.find(:all, :order => 'login')
|
||||
respond_to do |format|
|
||||
format.html do
|
||||
@page_title = "TRACKS::Manage Users"
|
||||
|
|
@ -15,7 +14,10 @@ class UsersController < ApplicationController
|
|||
# we get returned here when signup is successful
|
||||
store_location
|
||||
end
|
||||
format.xml { render :xml => @users.to_xml(:except => [ :password ]) }
|
||||
format.xml do
|
||||
@users = User.find(:all, :order => 'login')
|
||||
render :xml => @users.to_xml(:except => [ :password ])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue