title: Two different registration pages for laravel
body: <p>I'm trying to create two different registration pages for laravel - one will be for "students" and another for "mentors". </p>
  
  <p>There are two ways in my head I could go about routing this:</p>
  
  <ol>
  <li><p>Is to add in the localhost/register?user_type="mentor" and localhost/register?user_type="student". Then depending on the user_type parameter add a hidden input which will submit to laravel the user_type on registration. </p></li>
  <li><p>To add a completely second registration page localhost/register_mentor or localhost/register_student</p></li>
  </ol>
  
  <p>So, I used the makeauth scaffold. But here i'm confused. </p>
  
  <ol>
  <li>I have no idea where the routes are for example:</li>
  </ol>
  
  <p>In the "RegistrationController" I have </p>
  
  <pre><code>protected function create(array $data) 
  </code></pre>
  
  <p>So I know I can edit this and add a user_type column in the database.</p>
  
  <p>But I have no idea where this "create" is being called? So I don't know how to put in a a new registration page that will call this with the user_type. </p>
  
  <ol start="2">
  <li>Because I have no idea how it's being routed - I have no idea how I can copy the current register.blade.php and make a new one for a second registration page. It says in register.blade.php that the registration process is send to "{{ route('register') }" - but I have no idea where this is.  </li>
  </ol>
  
  <p>Hope I make sense, any help would be greatly appreciated!</p>