Added units view and sidebar link
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
class UnitsController < ApplicationController
|
||||
|
||||
def create
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user