Mercurial > hg > soundsoftware-site
changeset 1128:cd2db8872493 redmine-2.2-integration
Removed line from the Projects Controller that was mistakenly left after the merge from the pristine branch.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Wed, 09 Jan 2013 11:25:55 +0000 |
parents | 736d01c1d2d0 |
children | 77f703281e14 |
files | app/controllers/projects_controller.rb |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/app/controllers/projects_controller.rb Tue Jan 08 16:58:46 2013 +0000 +++ b/app/controllers/projects_controller.rb Wed Jan 09 11:25:55 2013 +0000 @@ -57,7 +57,7 @@ @project_count = Project.visible_roots.count @project_pages = Paginator.new self, @project_count, @limit, params['page'] @offset ||= @project_pages.current.offset - @projects = Project.visible_roots.all(:offset => @offset, :limit => @limit, :order => sort_clause) + @projects = Project.visible_roots.all(:offset => @offset, :limit => @limit, :order => sort_clause) if User.current.logged? # seems sort_by gives us case-sensitive ordering, which we don't want # @user_projects = User.current.projects.sort_by(&:name) @@ -175,7 +175,7 @@ # source_project not found render_404 end - + # Show @project def show if params[:jump] @@ -246,8 +246,6 @@ redirect_to :action => 'settings', :id => @project, :tab => 'overview' end - verify :method => :post, :only => :modules, :render => {:nothing => true, :status => :method_not_allowed } - def modules @project.enabled_module_names = params[:enabled_module_names] flash[:notice] = l(:notice_successful_update)