Sha256: ccd7fc6a1a6a30435960fee94e58353bb7f4f91745f94fe170519d40d8738a6c
Contents?: true
Size: 432 Bytes
Versions: 13
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
13 entries across 13 versions & 1 rubygems