Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add comment to UsersController#create.

  • Loading branch information...
commit 4537e23850de9a299e36e9fc4f908e7754ad8f19 1 parent 3c73511
@bryanlarsen bryanlarsen authored
View
3  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?
Please sign in to comment.
Something went wrong with that request. Please try again.