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

[WIP]: Create and edit ProjectPage resources #25

Closed
wants to merge 3 commits into from

Conversation

eatyourgreens
Copy link
Contributor

Adds a helper because project pages use a different API route from other resources.

Adds translation keys so that page titles and contents can be editted.

@eatyourgreens
Copy link
Contributor Author

eatyourgreens commented Jul 10, 2017

/api/projects/{project_id}/pages?url_key={url_key} doesn't return pages in all languages for that URL key. I guess the API request is filtered by language somewhere.

@simoneduca
Copy link
Contributor

Looks like pages language param is hardcoded to en https://github.com/zooniverse/Panoptes/blob/master/app/controllers/concerns/pages.rb#L48

@srallen
Copy link
Contributor

srallen commented Jul 13, 2017

Yep, we discovered this while working on the lab for organizations. I opened a Panoptes issue in case you missed it: zooniverse/panoptes#2348

@simoneduca
Copy link
Contributor

I saw it, but thanks for linking it here!

@eatyourgreens eatyourgreens mentioned this pull request Jul 20, 2017
18 tasks
@eatyourgreens
Copy link
Contributor Author

Superseded by #46

@eatyourgreens eatyourgreens deleted the create-pages branch November 6, 2017 14:37
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

Successfully merging this pull request may close these issues.

3 participants