# HG changeset patch # User luisf # Date 1357730755 0 # Node ID cd2db8872493f3927c0e3799d83522972e72e4d6 # Parent 736d01c1d2d04557ed69e7595d34d1b12c93becb Removed line from the Projects Controller that was mistakenly left after the merge from the pristine branch. diff -r 736d01c1d2d0 -r cd2db8872493 app/controllers/projects_controller.rb --- 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)