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

Create new admin interface for potential files #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

efskap
Copy link

@efskap efskap commented Dec 19, 2018

No description provided.

Copy link
Member

@d4l3k d4l3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@@ -28,7 +28,9 @@ var (
func adminRoutes() *http.ServeMux {
mux := http.NewServeMux()

mux.HandleFunc("/admin/potential", handlePotentialFileIndex)
mux.HandleFunc("/admin/potential", handlePotentialNew)
mux.HandleFunc("/admin/potential_old", handlePotentialFileIndex)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just get rid of the old if the new one is strictly superior.

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.

2 participants