Skip to content

Add url_for controller method - #380

Open
rsamoilov wants to merge 1 commit into
mainfrom
url-for
Open

Add url_for controller method#380
rsamoilov wants to merge 1 commit into
mainfrom
url-for

Conversation

@rsamoilov

Copy link
Copy Markdown
Member

This pull request introduces a new URL/path generation helper for controllers. The main addition is the RageController::API#url_for method, which enables generating full URLs or paths for a given controller/action and parameters. Underlying this, a new Rage::Router::Util.path_for utility is added, which builds paths based on route definitions and parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant