title: How can I implement Resource Controllers if I use many "get" on the laravel?
body: <p>I have routes laravel like this : </p>
  
  <pre><code>Route::prefix('member')-&gt;middleware('auth')-&gt;group(function(){
      Route::prefix('purchase')-&gt;group(function(){
          Route::get('/', 'Member\PurchaseController@index')-&gt;name('member.purchase.index');
          Route::get('order', 'Member\PurchaseController@order')-&gt;name('member.purchase.order');
          Route::get('transaction', 'Member\PurchaseController@transaction')-&gt;name('member.purchase.transaction');
      });
  });
  </code></pre>
  
  <p>My controller like this : </p>
  
  <pre><code>&lt;?php
  ...
  class PurchaseController extends Controller
  {
      ...
      public function index()
      {
          ...
      }
      public function order()
      {
          ...
      }
      public function transaction()
      {
          ...
      }
  }
  </code></pre>
  
  <p>I want to change it to Resource Controllers(<a href="https://laravel.com/docs/5.6/controllers#resource-controllers" rel="nofollow noreferrer">https://laravel.com/docs/5.6/controllers#resource-controllers</a>)</p>
  
  <p>So I only use 1 routes</p>
  
  <p>From my case, my routes to be like this : </p>
  
  <pre><code>Route::prefix('member')-&gt;middleware('auth')-&gt;group(function(){
      Route::resource('purchase', 'Member\PurchaseController');
  });
  </code></pre>
  
  <p>If I using resouce controller, I only can data in the index method or show method</p>
  
  <p>How can I get data in order method and transaction method?</p>