Commit 8afb5c2fe97d6d59219ce983ce263eddf8e42cc2
1 parent
04f13a48
Exists in
master
and in
1 other branch
Initializer is not necessary as we include AM::Model
Showing
1 changed file
with
0 additions
and
4 deletions
Show diff stats
app/models/issue.rb
| @@ -2,10 +2,6 @@ class Issue | @@ -2,10 +2,6 @@ class Issue | ||
| 2 | include ActiveModel::Model | 2 | include ActiveModel::Model |
| 3 | attr_accessor :problem, :user, :title, :body | 3 | attr_accessor :problem, :user, :title, :body |
| 4 | 4 | ||
| 5 | - def intialize(problem: nil, user: nil, title: nil, body: nil) | ||
| 6 | - @problem, @user, @title, @body = problem, user, title, body | ||
| 7 | - end | ||
| 8 | - | ||
| 9 | def issue_tracker | 5 | def issue_tracker |
| 10 | problem.app.issue_tracker | 6 | problem.app.issue_tracker |
| 11 | end | 7 | end |