Commit 1ca7bbc0 authored by Sean Arnold's avatar Sean Arnold

Check responds to instead of type

parent 3693be11
......@@ -83,7 +83,7 @@
= render_if_exists 'shared/issuable/remove_approver'
- if issuable.is_a?(Issue)
- if issueable.respond_to?(:issue_type)
= form.hidden_field :issue_type
= form.hidden_field :lock_version
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment