Class: XssController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- XssController
- Defined in:
- app/controllers/xss_controller.rb
Instance Method Summary collapse
Instance Method Details
#load ⇒ Object
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 |