Remove Auth calls from views

This commit is contained in:
Joseph Cohen
2015-01-28 00:51:28 -06:00
parent 5b618c0291
commit cce057c2d3
13 changed files with 46 additions and 24 deletions
@@ -56,7 +56,7 @@
</div>
</fieldset>
<input type="hidden" name="component[user_id]" value="{{ $component->agent_id || Auth::user()->id }}">
<input type="hidden" name="component[user_id]" value="{{ $component->agent_id || $loggedUser->id }}">
<input type="hidden" name="component[order]" value="{{ $component->order or 0 }}">
<div class="form-group">