find the right project to copy from in copy action

Conflicts:
	app/controllers/projects_controller.rb
pull/495/head
jwollert 11 years ago
parent 97214c8a59
commit 43ed467f54
  1. 2
      app/controllers/projects_controller.rb

@ -35,7 +35,7 @@ class ProjectsController < ApplicationController
helper :timelines
before_filter :disable_api
before_filter :find_project, :except => [ :index, :level_list, :new, :create, :copy ]
before_filter :find_project, :except => [ :index, :level_list, :new, :create ]
before_filter :authorize, :only => [ :show, :settings, :edit, :update, :modules, :types, :copy, :copy_project ]
before_filter :authorize_global, :only => [:new, :create]
before_filter :require_admin, :only => [ :copy, :archive, :unarchive, :destroy ]

Loading…
Cancel
Save