Not found

The exact documentation you were looking for could not be found. Here is the best guess.

public_path() public

Returns a Pathname object of the public folder of the current Rails project, otherwise it returns nil if there is no project:

Rails.public_path
  # => #<Pathname:/Users/someuser/some/path/project/public>
Show source
Register or log in to add new notes.