move Team_members controller into project (conflicts with team/members controller)

This commit is contained in:
Andrey Kumanyaev 2013-01-21 23:55:55 +04:00 committed by Dmitriy Zaporozhets
parent 497f7ab5ba
commit 1dd0feacc7
11 changed files with 107 additions and 53 deletions

View file

@ -0,0 +1,11 @@
# Provides a base class for Admin controllers to subclass
#
# Automatically sets the layout and ensures an administrator is logged in
class Admin::Projects::ApplicationController < Admin::ApplicationController
protected
def project
@project ||= Project.find_by_path(params[:project_id])
end
end