reenable finding the right project on copy action

pull/495/head
jwollert 11 years ago
parent 687b0d9924
commit b56c68ae5f
  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