This commit is contained in:
gitlabhq 2011-11-01 11:22:16 +02:00
parent d405292388
commit 0903932320
4 changed files with 28 additions and 25 deletions

View file

@ -2,6 +2,7 @@ require "base64"
class CommitsController < ApplicationController
before_filter :project
layout "project"
# Authorize
before_filter :add_project_abilities

View file

@ -1,6 +1,7 @@
class SnippetsController < ApplicationController
before_filter :authenticate_user!
before_filter :project
layout "project"
# Authorize
before_filter :add_project_abilities

View file

@ -1,5 +1,6 @@
class TeamMembersController < ApplicationController
before_filter :project
layout "project"
# Authorize
before_filter :add_project_abilities

View file

@ -14,9 +14,9 @@
#container
= render :partial => "layouts/flash"
= render :partial => "layouts/head_panel"
= render :partial => "layouts/page_title"
.project-container
.project-sidebar.grid_1
.project-sidebar
.fixed
%input.git-url.text{:id => "", :name => "", :readonly => "", :type => "text", :value => @project.url_to_repo}
%aside
= link_to image_tag("home.png", :width => 20), project_path(@project), :class => current_page?(:controller => "projects", :action => "show", :id => @project) ? "current" : nil