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

Re-enable venue creation (for admins) #206

Open
btaitelb opened this issue May 24, 2016 · 1 comment
Open

Re-enable venue creation (for admins) #206

btaitelb opened this issue May 24, 2016 · 1 comment

Comments

@btaitelb
Copy link
Member

When I try to create a new venue on /venues, I get a 404 error and the following error in the logs

ActionController::RoutingError (No route matches [POST] "/venues"):

@btaitelb
Copy link
Member Author

Ah, the following note in config/routes.rb explains it. Editing the title of this issue based on that.

  #resources :venues
  # NOTE I just discovered that any user could destroy venues, so have
  # disabled creating, deleting, and updating venues through the website
  # until we lock this down properly
  resources :venues, only: [:index, :show, :edit, :new]

@btaitelb btaitelb changed the title Cannot create a new venue Re-enable venue creation (for admins) May 24, 2016
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

1 participant