Class: FileBrowser::PathsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/file_browser/paths_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



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