Sha256: 4bb24fddec547ba0b637cec889fa4e2d8ee8debb25c3e0b15f28dc9d57a7686e
Contents?: true
Size: 432 Bytes
Versions: 6
Compression:
Stored size: 432 Bytes
Contents
class ChangeBlogURL < ActiveRecord::Migration[5.1] def up if Setting[:rss_url] == 'https://access.redhat.com/blogs/1169563/feed' Setting[:rss_url] = 'https://www.redhat.com/en/rss/blog/channel/red-hat-satellite' end end def down if Setting[:rss_url] == 'https://www.redhat.com/en/rss/blog/channel/red-hat-satellite' Setting[:rss_url] = 'https://access.redhat.com/blogs/1169563/feed' end end end
Version data entries
6 entries across 6 versions & 1 rubygems