title: Laravel get user post with relationship
body: <p>i have two table as <code>user_blogs</code> and <code>users</code> with this relationship structure</p>
  
  <p>UserBlogs :</p>
  
  <pre><code>class UserBlogs extends Model
  {
      protected $fillable = ['user_id', 'blog_content'];
  
      public function user()
      {
          return $this-&gt;belongsTo(User::class);
      }
  
      ...
  }
  </code></pre>
  
  <p>User:</p>
  
  <pre><code>class User extends Authenticatable
  {
      ...
  
      public function blogs()
      {
          return $this-&gt;hasMany(UserBlogs::class);
      }
  }
  </code></pre>
  
  <p>in controller i can get user blogs with this code:</p>
  
  <pre><code>$userBlogs = User::find($id)-&gt;blogs;
  </code></pre>
  
  <p>and i get can result on output, but why this code dont work and i get error:</p>
  
  <pre><code>$userBlogs = auth()-&gt;user()-&gt;blogs();
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$userBlogs = auth()-&gt;user()-&gt;blogs;
  </code></pre>
  
  <p>migration:</p>
  
  <pre><code>public function up()
  {
      Schema::create('user_blogs', function (Blueprint $table) {
          $table-&gt;increments('id');
          $table-&gt;integer('user_id')-&gt;unsigned();
          $table-&gt;foreign('user_id')-&gt;references('id')-&gt;on('users')-&gt;onDelete('cascade');
          $table-&gt;string('blog_title');
          $table-&gt;longText('blog_content');
          $table-&gt;timestamps();
      });
  }
  </code></pre>
  
  <p>Thanks in advance</p>