diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-14 10:15:24 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-14 10:15:24 -0400 |
commit | 0aace2986a9a7a6d4c84a9ba6819d3df7821e267 (patch) | |
tree | 450acd91cbd522d47577233ca28725ede6697bb2 /app/models/user.rb | |
parent | 07ac5db98c8884e0de81fc6c0ab873854a852ca5 (diff) | |
download | thoughts-0aace2986a9a7a6d4c84a9ba6819d3df7821e267.tar.gz thoughts-0aace2986a9a7a6d4c84a9ba6819d3df7821e267.tar.bz2 thoughts-0aace2986a9a7a6d4c84a9ba6819d3df7821e267.zip |
Blogs have an author now
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 555729a..f9f68fa 100644 --- a/app/models/user.rb +++ b/app/models/user.rb | |||
@@ -5,4 +5,6 @@ class User < ApplicationRecord | |||
5 | :recoverable, :rememberable, :trackable, :validatable | 5 | :recoverable, :rememberable, :trackable, :validatable |
6 | 6 | ||
7 | has_secure_token :pokeviewer_token | 7 | has_secure_token :pokeviewer_token |
8 | |||
9 | has_many :blogs | ||
8 | end | 10 | end |