Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Commit

Permalink
Initial State of application
Browse files Browse the repository at this point in the history
  • Loading branch information
cnurse committed Apr 8, 2016
1 parent a616a6f commit 602f255
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6,788 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Microsoft.AspNet.Mvc;

namespace Angular2.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
}
}
using Microsoft.AspNet.Mvc;

namespace Naif.Blog.Controllers
{
public class BlogController : Controller
{
public IActionResult Index()
{
return View();
}
}
}
1 change: 0 additions & 1 deletion src/Naif.Blog/Naif.Blog.xproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<ItemGroup>
<DnxInvisibleContent Include="bower.json" />
<DnxInvisibleContent Include=".bowerrc" />
<DnxInvisibleContent Include="package.json" />
</ItemGroup>
<ItemGroup>
<DnxInvisibleFolder Include=".idea\" />
Expand Down
2 changes: 1 addition & 1 deletion src/Naif.Blog/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF
{
routes.MapRoute(
name: "default",
template: "{controller=Home}/{action=Index}/{id?}");
template: "{controller=Blog}/{action=Index}/{id?}");
});
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
ViewData["Title"] = "Home Page";
}

@{
ViewData["Title"] = "Home Page";
}

2 changes: 1 addition & 1 deletion src/Naif.Blog/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Naif.Blog</title>
<title>Naif.Blog</title>

<environment names="Development">
<link rel="stylesheet" href="~/css/bootstrap.css" />
Expand Down
10 changes: 1 addition & 9 deletions src/Naif.Blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,7 @@
"name": "Naif.Blog",
"private": true,
"dependencies": {
"angular2": "^2.0.0-beta.5",
"systemjs": "^0.19.16",
"es6-promise": "^3.0.2",
"es6-shim": "^0.34.1",
"reflect-metadata": "^0.1.3",
"rxjs": "^5.0.0-beta.1",
"zone.js": "^0.5.10",
"bootstrap": "^3.3.6",
"jquery": "^2.2.0"
"bootstrap": "^3.3.6"
},
"devDependencies": {
"gulp": "^3.9.0",
Expand Down
Loading

0 comments on commit 602f255

Please sign in to comment.