Class: Flipper::UI::Actions::File
- Inherits:
-
Flipper::UI::Action
- Object
- Flipper::UI::Action
- Flipper::UI::Actions::File
- Defined in:
- lib/flipper/ui/actions/file.rb
Constant Summary
Constants inherited from Flipper::UI::Action
Flipper::UI::Action::VALID_REQUEST_METHOD_NAMES
Instance Attribute Summary
Attributes inherited from Flipper::UI::Action
Instance Method Summary collapse
Methods inherited from Flipper::UI::Action
#breadcrumb, #csrf_input_tag, #halt, #header, #initialize, #json_response, public_path, #public_path, #redirect_to, regex, #request_method_name, route, #run, run, #run_other_action, #script_name, #status, #valid_request_method?, #view, #view_response, #view_with_layout, #view_without_layout, views_path, #views_path
Constructor Details
This class inherits a constructor from Flipper::UI::Action
Instance Method Details
#get ⇒ Object
10 11 12 |
# File 'lib/flipper/ui/actions/file.rb', line 10 def get Rack::File.new(public_path).call(request.env) end |