Removed Unit.group, added UnitsController#import
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user