Sha256: c467592ceb159854612eb5128bd11e95ed97445bd4cc5110ffc0189b79252b4b

Contents?: true

Size: 177 Bytes

Versions: 10

Compression:

Stored size: 177 Bytes

Contents

class MySettings < RailsSettings::Settings
  attr_protected

  def self.full_url
    self.site_url.match("http://").blank? ? "http://#{self.site_url}" : self.site_url
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/models/my_settings.rb
forge-cli-0.1.9 lib/forge/app/models/my_settings.rb
forge-cli-0.1.8 lib/forge/app/models/my_settings.rb
forge-cli-0.1.7 lib/forge/app/models/my_settings.rb
forge-cli-0.1.6 lib/forge/app/models/my_settings.rb
forge-cli-0.1.5 lib/forge/app/models/my_settings.rb
forge-cli-0.1.4 lib/forge/app/models/my_settings.rb
forge-cli-0.1.3 lib/forge/app/models/my_settings.rb
forge-cli-0.1.2 lib/forge/app/models/my_settings.rb
forge-cli-0.1.1 lib/forge/app/models/my_settings.rb