diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-04 20:35:16 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-04 20:35:16 -0400 |
commit | bcfa571b0328a4b3e94479a31c027621ceb86ad5 (patch) | |
tree | ac662a6e8e6be36b311652520b8bcc2a1511741d /app/models/alert.rb | |
parent | d6009eddd6f67a9414ff7d707ae82c053e6653ad (diff) |
Implement the new security mechanism
Diffstat (limited to 'app/models/alert.rb')
-rw-r--r-- | app/models/alert.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/alert.rb b/app/models/alert.rb index 0516355..9876711 100644 --- a/app/models/alert.rb +++ b/app/models/alert.rb @@ -1,3 +1,3 @@ class Alert < ActiveRecord::Base - belongs_to :author + belongs_to :author, class_name: "User" end |