Finish hotfix-3

This commit is contained in:
nelsonlaquet 2013-09-11 19:13:32 -05:00
commit 6ca6dafd71
5 changed files with 25 additions and 1 deletions

View file

@ -1,7 +1,14 @@
<?php
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Redirect;
class AccountController extends Controller {
public function getIndex() {
return View::make('shared.null');
}
public function getRegister() {
return Redirect::to(Config::get('poniverse.urls')['register']);
}
}

View file

@ -34,6 +34,7 @@
Route::get('artists', 'ArtistsController@getIndex');
Route::get('playlists', 'PlaylistsController@getIndex');
Route::get('/register', 'AccountController@getRegister');
Route::get('/login', 'AuthController@getLogin');
Route::get('/auth/oauth', 'AuthController@getOAuth');

View file

@ -75,7 +75,8 @@
<a href="{{Helpers::angular('playlist.url')}}" ng-bind="playlist.title"></a>
</li>
@else
<li><a href="/login" target="_self">Login</a></li>
<li><a href="/login" target="_self">Login</a></li>
<li><a href="/register" target="_self">Register</a></li>
@endif
</ul>
<ui-view class="site-content">

View file

@ -43,6 +43,12 @@
}
.dashboard {
.welcome {
float: none;
width: auto;
margin-bottom: 10px;
}
h1 {
a {
color: #fff;

View file

@ -15,6 +15,15 @@
</section>
<section class="news">
<h1>Welcome to Pony.fm</h1>
<p>The pony fan music site. By a brony, for bronies.</p>
<p>
We provide a comprehensive set of free tools to host, distribute, and catalogue your music, integrated with a rich community experience for artists and listeners alike.
</p>
<p>
Features include <strong>unlimited downloads</strong>, <strong>unlimited uploads</strong>, <strong>lossless uploads</strong> and much more! Click <a href="/about">here</a> to get all of our features!
</p>
<h1>
<a href="http://mlpforums.com/blog/404-ponyfm-development-blog/" target="_blank">read all</a>
Pony.fm News