Module: Trestle::Controller::Location

Extended by:
ActiveSupport::Concern
Included in:
ApplicationController
Defined in:
app/controllers/concerns/trestle/controller/location.rb

Instance Method Summary collapse

Instance Method Details

#set_trestle_location_headerObject



10
11
12
# File 'app/controllers/concerns/trestle/controller/location.rb', line 10

def set_trestle_location_header
  headers["X-Trestle-Location"] = request.path
end