Created BodyTrackers controller
command: rails generate redmine_plugin_controller body_tracking body_trackers index
This commit is contained in:
parent
045943938d
commit
3e83693c28
5
app/controllers/body_trackers_controller.rb
Normal file
5
app/controllers/body_trackers_controller.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class BodyTrackersController < ApplicationController
|
||||
|
||||
def index
|
||||
end
|
||||
end
|
2
app/helpers/body_trackers_helper.rb
Normal file
2
app/helpers/body_trackers_helper.rb
Normal file
@ -0,0 +1,2 @@
|
||||
module BodyTrackersHelper
|
||||
end
|
1
app/views/body_trackers/index.html.erb
Normal file
1
app/views/body_trackers/index.html.erb
Normal file
@ -0,0 +1 @@
|
||||
<h2>BodyTrackersController#index</h2>
|
8
test/functional/body_trackers_controller_test.rb
Normal file
8
test/functional/body_trackers_controller_test.rb
Normal file
@ -0,0 +1,8 @@
|
||||
require File.expand_path('../../test_helper', __FILE__)
|
||||
|
||||
class BodyTrackersControllerTest < ActionController::TestCase
|
||||
# Replace this with your real tests.
|
||||
def test_truth
|
||||
assert true
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user