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

Make uploaded images deleteable #8

Open
fwolfst opened this issue Feb 24, 2020 · 1 comment
Open

Make uploaded images deleteable #8

fwolfst opened this issue Feb 24, 2020 · 1 comment
Labels
difficulty: medium Probably medium difficult to solve enhancement New feature or request

Comments

@fwolfst
Copy link
Member

fwolfst commented Feb 24, 2020

No description provided.

@fwolfst
Copy link
Member Author

fwolfst commented Feb 26, 2020

@TheRealSyler In neseri (and rails5) I made a separate route and controller for that (https://github.com/ecovillage/neseri/blob/master/app/controllers/seminars/attachments_controller.rb ). Ignore the authorize call within it.

Route: https://github.com/ecovillage/neseri/blob/master/config/routes.rb#L17

The delete action is than available from https://github.com/ecovillage/neseri/blob/master/app/views/seminars/show.html.haml#L142 .

@fwolfst fwolfst added difficulty: medium Probably medium difficult to solve enhancement New feature or request labels Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: medium Probably medium difficult to solve enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant