erichexter / twitter.bootstrap.mvc

nuget package to make bootstrap easy with mvc4
Apache License 2.0
248 stars 134 forks source link

Missing Edit.cshtml in Shared folder ? #30

Closed mrlux closed 11 years ago

mrlux commented 11 years ago

When on the Index page and clicking the edit action u get an error that there was no Edit.cshtml page found.

erichexter commented 11 years ago

you need to specify the create view in the View method of your Edit Action see the highlighted line in the sample. https://github.com/erichexter/twitter.bootstrap.mvc/blob/master/src/Controllers/HomeController.cs.pp#L52

Eric Hexter

blog | http://Hex.LosTechies.com info | http://www.linkedin.com/in/erichexter

On Wed, Dec 5, 2012 at 10:17 AM, MrLux notifications@github.com wrote:

When on the Index page and clicking the edit action u get an error that there was no Edit.cshtml page found.

— Reply to this email directly or view it on GitHubhttps://github.com/erichexter/twitter.bootstrap.mvc/issues/30.

mrlux commented 11 years ago

Thx a lot, maybe something to add in the documentation.