Zbiór zmian 895 dla branches/Emisje/eCard/eCardMVC/Platnosci/Global.asax.cs
- Data:
- 2009-11-24 12:21:39 (16 years ago)
- Lokalizacja:
- branches/Emisje
- Pliki:
-
- 2 zmodyfikowane
-
. (zmodyfikowane) (1 prop)
-
eCard/eCardMVC/Platnosci/Global.asax.cs (zmodyfikowane) (2 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
branches/Emisje
- Property svn:mergeinfo
-
old new 1 /branches/Abonament:701-884 1 2 /branches/AutoShopper:815-818 2 3 /branches/ReklamaReorganizacja:568-731 3 4 /tags/BazaReklam_1.1.28:831 4 /trunk:774-8 685 /trunk:774-893
-
- Property svn:mergeinfo
-
branches/Emisje/eCard/eCardMVC/Platnosci/Global.asax.cs
r866 r895 7 7 using System.Threading; 8 8 using System.Globalization; 9 using System.Configuration; 9 10 10 11 namespace Platnosci … … 17 18 public static void RegisterRoutes(RouteCollection routes) 18 19 { 20 routes.IgnoreRoute("elmah.axd"); 19 21 routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); 20 22 string lang = Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName.ToLower(); 23 21 24 routes.MapRoute( 22 "eCard", // Route name 23 "eCard/Status.aspx", // URL with parameters 24 new { controller = "Platnosc", action = "Status" } // Parameter defaults 25 ); 26 25 "eCard", 26 "eCard/Status.aspx", 27 new { controller = "Platnosc", action = "Status" } 28 ); 27 29 routes.MapRoute( 28 "Default", // Route name 29 "{language}/{controller}/{action}/{id}", // URL with parameters 30 new { language = "pl", controller = "Home", action = "Index", id = "" } // Parameter defaults 31 ); 32 30 "Default", 31 "{language}/{controller}/{action}/{id}", 32 new { language = lang, controller = "Home", action = "Index", id = "" } 33 ); 33 34 } 34 35 35 protected void Application_Start() 36 36 { 37 37 RegisterRoutes(RouteTable.Routes); 38 38 } 39 39 40 } 40 41 }
