title: How can I pass variable to register view?
body: <p>I have used <code>php artisan make:auth</code>  it generates the register view and /register route. But I need to pass a variable to this register view:</p>
  
  <pre><code>&lt;label&gt;Region:&lt;/label&gt;
  &lt;select  name="region" id="region" class="form-control" &gt;
  &lt;option&gt;--Select a Region--&lt;/option&gt;
      @foreach($region as $reg)
          &lt;option value="{{$reg-&gt;region_id}}"&gt;{{$reg-&gt;region_name}}&lt;/option&gt;
      @endforeach                
  &lt;/select&gt;&lt;br&gt;
  </code></pre>
  
  <p>Something like:</p>
  
  <pre><code>public function register()
  {
     $region=Region::all();
     return view('auth.register')-&gt;with('region',$region);
  }
  </code></pre>
  
  <p>But where is this kind of  method?</p>