instance method
public_path
Ruby on Rails 3.1.12
Since v3.0.20 Last seen in v3.1.12 PrivateAvailable in: v3.0.20 v3.1.12
Signature
public_path()
No documentation comment.
Source
# File actionpack/lib/action_dispatch/middleware/show_exceptions.rb, line 122
def public_path
defined?(Rails.public_path) ? Rails.public_path : 'public_path'
end
Defined in actionpack/lib/action_dispatch/middleware/show_exceptions.rb line 122
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::ShowExceptions