Merge branch 'dev' into user_dashboard

This commit is contained in:
gitlabhq 2011-11-02 20:59:06 +02:00
commit 83c1194d52
15 changed files with 67 additions and 20 deletions

View file

@ -1,4 +1,5 @@
class Admin::MailerController < ApplicationController
layout "admin"
before_filter :authenticate_user!
before_filter :authenticate_admin!

View file

@ -1,4 +1,5 @@
class Admin::ProjectsController < ApplicationController
layout "admin"
before_filter :authenticate_user!
before_filter :authenticate_admin!

View file

@ -1,4 +1,5 @@
class Admin::TeamMembersController < ApplicationController
layout "admin"
before_filter :authenticate_user!
before_filter :authenticate_admin!

View file

@ -1,4 +1,5 @@
class Admin::UsersController < ApplicationController
layout "admin"
before_filter :authenticate_user!
before_filter :authenticate_admin!

View file

@ -1,4 +1,5 @@
class KeysController < ApplicationController
layout "profile"
respond_to :js
def index

View file

@ -1,4 +1,5 @@
class ProfileController < ApplicationController
layout "profile"
def show
@user = current_user
end