Class: Maglev::FetchTheme

Inherits:
Object
  • Object
show all
Includes:
Injectable
Defined in:
app/services/maglev/fetch_theme.rb

Overview

Fetch the current theme

Instance Method Summary collapse

Instance Method Details

#callObject



8
9
10
# File 'app/services/maglev/fetch_theme.rb', line 8

def call
  Maglev.local_themes.first
end