Module: DeprecationNotification::Notification
- Defined in:
- app/models/concerns/deprecation_notification.rb
Instance Method Summary collapse
Instance Method Details
#create!(opts) ⇒ Object
15 16 17 18 19 20 21 |
# File 'app/models/concerns/deprecation_notification.rb', line 15 def create!(opts) if opts[:notification_blueprint] == NotificationBlueprint.find_by_name('feature_deprecation') && opts.dig(:actions, :links, 0, :href) == 'https://community.theforeman.org/t/dropping-smart-variables/16176' opts[:actions][:links][0][:href] = "#{ForemanThemeSatellite.documentation_root}/release_notes/index" end super(opts) end |