##// END OF EJS Templates
show "no data" label when there's nothing to display on changelog and roadmap...
show "no data" label when there's nothing to display on changelog and roadmap git-svn-id: http://redmine.rubyforge.org/svn/trunk@255 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r126:7a03cf92ba62
r252:ddd0796e403d
Show More
welcome_controller.rb
25 lines | 987 B | text/x-ruby | RubyLexer
/ app / controllers / welcome_controller.rb
Jean-Philippe Lang
Initial commit...
r2 # redMine - project management software
# Copyright (C) 2006 Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class WelcomeController < ApplicationController
Jean-Philippe Lang
0.3 unstable...
r10 layout 'base'
def index
Jean-Philippe Lang
fixed: non public projects were shown on welcome screen even if current user is not a member...
r126 @news = News.latest logged_in_user
@projects = Project.latest logged_in_user
Jean-Philippe Lang
0.3 unstable...
r10 end
Jean-Philippe Lang
Initial commit...
r2 end