Sha256: 66c6341f997c9efd50ea0890460a1127f73605e327ad9af8523e6d1c309ed502
Contents?: true
Size: 740 Bytes
Versions: 12
Compression:
Stored size: 740 Bytes
Contents
class CreateConfigurationManagementDesktopApplication def self.up app = DesktopApplication.create( :description => 'Configuration Management', :icon => 'icon-grid', :javascript_class_name => 'Compass.ErpApp.Desktop.Applications.ConfigurationManagement', :internal_identifier => 'configuration_management', :shortcut_id => 'configuration_management-win' ) pt1 = PreferenceType.iid('desktop_shortcut') pt1.preferenced_records << app pt1.save pt2 = PreferenceType.iid('autoload_application') pt2.preferenced_records << app pt2.save end def self.down DesktopApplication.destroy_all(['internal_identifier = ?','configuration_management']) end end
Version data entries
12 entries across 12 versions & 1 rubygems