Sometimes you need to put a stub on a particular route, but do not want to make a controller for this. In this case use Rack application as a stub:
# config/routes.rb
get "wp-login", to: -> (env) { [200, {}, [""]] }
Sometimes you need to put a stub on a particular route, but do not want to make a controller for this. In this case use Rack application as a stub:
# config/routes.rb
get "wp-login", to: -> (env) { [200, {}, [""]] }
For further actions, you may consider blocking this person and/or reporting abuse
awedis -
Tech Tim (@TechTim42) -
Ben Halpern -
William Baptist -
Once suspended, vasily will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, vasily will be able to comment and publish posts again.
Once unpublished, all posts by vasily will become hidden and only accessible to themselves.
If vasily is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Vasily Polovnyov.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag vasily:
Unflagging vasily will restore default visibility to their posts.
Top comments (0)