We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Are there any plans to add support for limiting the access points to a REST resource using something akin to Rails' only/except:
resources :posts do resources :comments, only: [:index, :new, :create] end
resources :photos, except: :destroy
An example would be:
router.resource("posts").only(["index","new","create"]); router.resource("photos").except(["destroy"]);
The text was updated successfully, but these errors were encountered:
+1, this would be great. We could build this into Geddy's generators as well.
Sorry, something went wrong.
No branches or pull requests
Are there any plans to add support for limiting the access points to a REST resource using something akin to Rails' only/except:
resources :posts do
resources :comments, only: [:index, :new, :create]
end
resources :photos, except: :destroy
An example would be:
router.resource("posts").only(["index","new","create"]);
router.resource("photos").except(["destroy"]);
The text was updated successfully, but these errors were encountered: