Class: FileBrowser::PathsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- FileBrowser::PathsController
- Defined in:
- app/controllers/file_browser/paths_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
7 8 9 10 11 |
# File 'app/controllers/file_browser/paths_controller.rb', line 7 def create @path = Path.new(path_name) # respond_with @path render :json => @path end |