method

with_leading_slash

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Rails::InfoController
with_leading_slash(path) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/info_controller.rb, line 40
    def with_leading_slash(path)
      ("/" + path).squeeze("/")
    end
Register or log in to add new notes.