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

Breadcrumb in controller without parameter not works #17

Open
viniciushernandes opened this issue Nov 14, 2016 · 0 comments
Open

Breadcrumb in controller without parameter not works #17

viniciushernandes opened this issue Nov 14, 2016 · 0 comments

Comments

@viniciushernandes
Copy link

Hi,

When my controller has a parameter the breadcrumb works, but when this same controller has no parameter not works. Why?

Example:

Works:
Estructure/Form/12

Not works:
Estructure/Form

My controller is like this:

    public ActionResult Form(int id = 0)
    {
        Structure model = new Structure ();               
        if (id != 0)
        {
            ........            
        }
        return View(model);
    }    
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

1 participant