lib/volt/server/rack/component_paths.rb
def component_path(name)
    folders = components[name]

    if folders
      return folders.first
    else
      return nil
    end
  end
# Returns the path for a specific component
Returns the path for a specific component
Returns the path for a specific component
def component_path(name)
    folders = components[name]
    if folders
      return folders.first
    else
      return nil
    end
  end
def component_path ( name ) folders = components [ name ] if folders return folders . first else return nil end end
Returns the path for a specific component
Returns the path for a specific component
name