clean up profile generation (wip)
This commit is contained in:
@ -13,7 +13,7 @@ class ProfilesController < ApplicationController
|
||||
# GET /profiles/new
|
||||
def new
|
||||
kind = params[:kind]
|
||||
kind = Profile.types.first unless Profile.types.include?(kind)
|
||||
kind = Profile.kinds.first unless Profile.kinds.include?(kind)
|
||||
@profile = Profile.new kind: kind
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user