Merge branch 'dev' into user_dashboard
This commit is contained in:
commit
83c1194d52
15 changed files with 67 additions and 20 deletions
|
@ -1,4 +1,5 @@
|
|||
class Admin::MailerController < ApplicationController
|
||||
layout "admin"
|
||||
before_filter :authenticate_user!
|
||||
before_filter :authenticate_admin!
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
class Admin::ProjectsController < ApplicationController
|
||||
layout "admin"
|
||||
before_filter :authenticate_user!
|
||||
before_filter :authenticate_admin!
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
class Admin::TeamMembersController < ApplicationController
|
||||
layout "admin"
|
||||
before_filter :authenticate_user!
|
||||
before_filter :authenticate_admin!
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
class Admin::UsersController < ApplicationController
|
||||
layout "admin"
|
||||
before_filter :authenticate_user!
|
||||
before_filter :authenticate_admin!
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
class KeysController < ApplicationController
|
||||
layout "profile"
|
||||
respond_to :js
|
||||
|
||||
def index
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
class ProfileController < ApplicationController
|
||||
layout "profile"
|
||||
def show
|
||||
@user = current_user
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue