Class: XssController

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

Instance Method Summary collapse

Instance Method Details

#loadObject



4
5
6
7
8
9
# File 'app/controllers/xss_controller.rb', line 4

def load
  custom_params = params.symbolize_keys.except(:path, :scope, :controller, :action)
  path = params[:path]
  path += "?#{custom_params.to_uri}" if custom_params.any?
  render :path => path, :format => :xss
end