Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request : route named params capture #20

Open
tablecell opened this issue Jun 22, 2024 · 1 comment
Open

feature request : route named params capture #20

tablecell opened this issue Jun 22, 2024 · 1 comment

Comments

@tablecell
Copy link

class App < RackStep::App
  add_route("GET|POST", "/project/:name", RootController)  #    url like  /project/xxx    got xxx via   params[:name] 
  ...
end 

named params in url for better SEO

@marciofrayze
Copy link
Owner

Thanks for opening this feature request.

That's something I was postponing to implement for a while. Tried a few different approaches in the past, but wasn't satisfied with the results.

Might give another shot when I have some free time.

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

No branches or pull requests

2 participants