Commit 8afb5c2fe97d6d59219ce983ce263eddf8e42cc2

Authored by Arthur Neves
1 parent 04f13a48
Exists in master and in 1 other branch production

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 2 include ActiveModel::Model
3 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 5 def issue_tracker
10 6 problem.app.issue_tracker
11 7 end
... ...