Class: Setting

Inherits:
RailsSettings::Base
  • Object
show all
Defined in:
app/models/setting.rb

Overview

RailsSettings Model

Class Method Summary collapse

Class Method Details

.protocolObject


6
7
8
# File 'app/models/setting.rb', line 6

def protocol
  self.https == true ? 'https' : 'http'
end