Permalink
Browse files

add comment to UsersController#create.

  • Loading branch information...
1 parent 3c73511 commit 4537e23850de9a299e36e9fc4f908e7754ad8f19 @bryanlarsen bryanlarsen committed Apr 18, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 hobo/lib/generators/hobo/user_controller/templates/controller.rb.erb
@@ -4,6 +4,9 @@ class <%= class_name %>Controller < ApplicationController
auto_actions :all, :except => [ :index, :new, :create ]
+ # Normally, users should be created via the user lifecycle, except
+ # for the initial user created via the form on the front screen on
+ # first run. This method creates the initial user.
def create
hobo_create do
if valid?

0 comments on commit 4537e23

Please sign in to comment.