Class: SystemSettings::RootController

Inherits:
ApplicationController show all
Defined in:
app/controllers/system_settings/root_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
9
10
11
# File 'app/controllers/system_settings/root_controller.rb', line 5

def index
  if File.exist?(SystemSettings::Engine.frontend_build_index_html_path)
    render file: SystemSettings::Engine.frontend_build_index_html_path
  else
    render plain: "Frontend application has not been compiled", status: :not_implemented
  end
end