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

formUserView and formGroupView are not defined on corresponding controllers #478

Closed
ianschmitz opened this issue Dec 13, 2015 · 3 comments
Closed
Labels
confirmed bug Something isn't working

Comments

@ianschmitz
Copy link

At endpoints /forms/groups/g/:group_id/? and /forms/users/u/:user_id/?there appears to be the options to have a 'view' mode for the form. However the call return $controller->formUserView($user_id); fails as they are not defined on the UserController and GroupController.

Example error:
Call to undefined method UserFrosting\UserController::formUserView()

@r3wt r3wt added the confirmed bug Something isn't working label Dec 14, 2015
@alexweissman
Copy link
Member

Hmm, you're right. I wonder where that came from?

The static /forms/users/u/:user_id/ route does indeed correctly render the "view" mode of the form, but I also see that the corresponding formUserView method appears to be missing. So, I wonder why it is still working...

@alexweissman
Copy link
Member

This appears to be the same situation for groups, where formGroupView does not exist.

@alexweissman
Copy link
Member

Let's just clear these out in the next hotfix.

@alexweissman alexweissman added this to the 0.3.1.13 Hotfix milestone Feb 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants