1
0

Removed Unit.group, added UnitsController#import

This commit is contained in:
cryptogopher
2019-08-21 22:54:13 +02:00
parent fea736bd36
commit 8e7385cdcb
7 changed files with 13 additions and 55 deletions

View File

@@ -1,5 +1,5 @@
class UnitsController < ApplicationController
before_action :find_project, only: [:new, :index, :create]
before_action :find_project, only: [:new, :index, :create, :import]
before_action :authorize
def new
@@ -16,6 +16,9 @@ class UnitsController < ApplicationController
def destroy
end
def import
end
private
# :find_* methods are called before :authorize,