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

Actions with the same name in different areas #33

Closed
rutenio opened this issue May 15, 2019 · 6 comments
Closed

Actions with the same name in different areas #33

rutenio opened this issue May 15, 2019 · 6 comments

Comments

@rutenio
Copy link

rutenio commented May 15, 2019

Is there any way to debug a key duplicity error?
I changed the entire system structure to use areas and now there are some controllers with the same name. I try to run the debug but the maximum I get is the duplicate key (Home.Index), but I do not know how to solve it.
Thanks.

@zHaytam
Copy link
Owner

zHaytam commented May 15, 2019

Hum, I guess I need to add the Area name to the key.
Something like: Area.Controller.Action.

@rutenio
Copy link
Author

rutenio commented May 15, 2019

would be awesome!

@zHaytam
Copy link
Owner

zHaytam commented May 16, 2019

I've been trying to implement these for 2 days now, hoping that I won't need to refactor a lot of base code and I don't seem to get it...
I'm sorry but I don't think it's a good idea to change as much code for this, maybe if I get some time for it.
For now, you'll have to change the name of your controller or your action :/

@zHaytam zHaytam closed this as completed May 16, 2019
@rutenio
Copy link
Author

rutenio commented May 17, 2019

I can help you, if you want.

@nsathiyamoorthi
Copy link

Is there any plan to implement this anytime soon?

@zHaytam zHaytam changed the title Debug Error Actions with the same name in different areas Jun 11, 2019
@zHaytam
Copy link
Owner

zHaytam commented Jun 11, 2019

Personally, I won't have much time the next 4 weeks as I'm close to finish up my masters degree / internship.
Although if anyone wants to work on it and create a PR I would be more than happy to accept it.

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

3 participants