From 1a2c798f527c00c4909f6116c3abfea7aa4cc520 Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Wed, 4 Apr 2012 10:57:34 +0200 Subject: [PATCH] marking methods on my_projects_overviews_controller as private where possible --- app/controllers/my_projects_overviews_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/my_projects_overviews_controller.rb b/app/controllers/my_projects_overviews_controller.rb index d435418a2a..98598387e0 100644 --- a/app/controllers/my_projects_overviews_controller.rb +++ b/app/controllers/my_projects_overviews_controller.rb @@ -147,6 +147,8 @@ class MyProjectsOverviewsController < ApplicationController render :partial => 'page_layout_attachments' end + private + def find_my_project_overview @overview = MyProjectsOverview.find(:first, :conditions => "project_id = #{@project.id}") # Auto-create missing overviews