mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-04 23:11:47 +01:00
{{{
ruby -i.bak -pe 'gsub!("#!/usr/bin/env ruby", "#!c:/ruby/bin/ruby")' public/dispatch.* script/*
}}}
I also failed to add the new user-related files and the new migrate task last time I committed, so those are added now.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@141 a4c988fc-2ded-0310-b66e-134b36920a42
11 lines
No EOL
269 B
Ruby
11 lines
No EOL
269 B
Ruby
class UserController < ApplicationController
|
|
scaffold :user
|
|
|
|
def index
|
|
render_text "This will be our jumping-off point for managing user functions!"
|
|
end
|
|
|
|
def admin
|
|
render_text "You'll only be allowed to go here if you're an administrator."
|
|
end
|
|
end |