ASP.NET MVC 4 URL or routing issue -
i'm using asp.net mvc 4 create website. in route.config file have following
defaults: new { controller = "announcement", action = "index", id = urlparameter.optional }
so when type url localhost
or localhost/announcement
works , index action called right. however, when type localhost/announcement/index
should work i'm getting javascript , jquery errors.
i'm guessing when type word index such script not recognized reason:
<script type="text/javascript" src="js/cufon.js"></script>
any appreciated.
thanks
Comments
Post a Comment