Sha256: 14f480f550b3878efeea56cacb8e8aefb67961c8830d117ef1c2ef89d48387cf

Contents?: true

Size: 158 Bytes

Versions: 14

Compression:

Stored size: 158 Bytes

Contents

class MySettings < RailsSettings::Settings
  def self.full_url
    self.site_url.match("http://").blank? ? "http://#{self.site_url}" : self.site_url
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
forge-cli-0.1.0 lib/forge/app/models/my_settings.rb
forge-cli-0.0.18 lib/forge/app/models/my_settings.rb
forge-cli-0.0.17 lib/forge/app/models/my_settings.rb
forge-cli-0.0.16 lib/forge/app/models/my_settings.rb
forge-cli-0.0.15 lib/forge/app/models/my_settings.rb
forge-cli-0.0.14 lib/forge/app/models/my_settings.rb
forge-cli-0.0.13 lib/forge/app/models/my_settings.rb
forge-cli-0.0.12 lib/forge/app/models/my_settings.rb
forge-cli-0.0.11 lib/forge/app/models/my_settings.rb
forge-cli-0.0.10 lib/forge/app/models/my_settings.rb
forge-cli-0.0.9 lib/forge/app/models/my_settings.rb
forge-cli-0.0.8 lib/forge/app/models/my_settings.rb
forge-cli-0.0.7 lib/forge/app/models/my_settings.rb
forge-cli-0.0.6 lib/forge/app/models/my_settings.rb