title: Laravel: Hide attributes from model just in some routes
body: <p>how do I hide some attributes from the model in just some routes, for example:</p>
  
  <p>I'm using protected $hidden to hide elements but this hide in all my functions or restful routes (index, show)</p>
  
  <pre><code> $hidden = [
    'coachVisibility', 'thumbnail', 'studentVisibility',
    'isHTML', 'studentIndex', 'coachIndex',
    'isURL', 'source', 'path',
    'status', 'updateTime', 'isfolder',
    'parentResource', 'idModifierUser', 'idResourceType',
    'idCreatorUser', 'idCreationCountry', 'user',
    'country', 'resource'
  ];
  </code></pre>
  
  <p>I want to hide only in Index function but in show function I don't want to hide anything. </p>