Class: EmulatorController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/emulator_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
# File 'app/controllers/emulator_controller.rb', line 4

def index
  @root_path = Rails.application.config.mxit_root
  @path = request.fullpath.sub(/^\/emulator/, '')
end