Current page URL

How do you get the current page URL? example from php:

$currentURL .= $_SERVER[“SERVER_NAME”].$_SERVER[“REQUEST_URI”];

I found it… should have searched first :slight_smile:

@request.request_uri

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs