1
0

Added units view and sidebar link

This commit is contained in:
cryptogopher
2019-08-09 12:43:28 +02:00
parent 40f39a955c
commit 2cd9900cea
8 changed files with 30 additions and 6 deletions

View File

@@ -1,10 +1,13 @@
class BodyTrackersController < ApplicationController
before_action :find_project, only: [:index]
before_action :find_project, only: [:index, :units]
before_action :authorize
def index
end
def units
end
private
# :find_* methods are called before :authorize,

View File

@@ -1,5 +1,4 @@
class UnitsController < ApplicationController
def create
end