From 3e83693c282ce20cc0f896f653d87c5747f816bd Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Thu, 8 Aug 2019 22:33:58 +0200 Subject: [PATCH] Created BodyTrackers controller command: rails generate redmine_plugin_controller body_tracking body_trackers index --- app/controllers/body_trackers_controller.rb | 5 +++++ app/helpers/body_trackers_helper.rb | 2 ++ app/views/body_trackers/index.html.erb | 1 + test/functional/body_trackers_controller_test.rb | 8 ++++++++ 4 files changed, 16 insertions(+) create mode 100644 app/controllers/body_trackers_controller.rb create mode 100644 app/helpers/body_trackers_helper.rb create mode 100644 app/views/body_trackers/index.html.erb create mode 100644 test/functional/body_trackers_controller_test.rb diff --git a/app/controllers/body_trackers_controller.rb b/app/controllers/body_trackers_controller.rb new file mode 100644 index 0000000..08939fb --- /dev/null +++ b/app/controllers/body_trackers_controller.rb @@ -0,0 +1,5 @@ +class BodyTrackersController < ApplicationController + + def index + end +end diff --git a/app/helpers/body_trackers_helper.rb b/app/helpers/body_trackers_helper.rb new file mode 100644 index 0000000..39a5f1c --- /dev/null +++ b/app/helpers/body_trackers_helper.rb @@ -0,0 +1,2 @@ +module BodyTrackersHelper +end diff --git a/app/views/body_trackers/index.html.erb b/app/views/body_trackers/index.html.erb new file mode 100644 index 0000000..7c44427 --- /dev/null +++ b/app/views/body_trackers/index.html.erb @@ -0,0 +1 @@ +

BodyTrackersController#index

diff --git a/test/functional/body_trackers_controller_test.rb b/test/functional/body_trackers_controller_test.rb new file mode 100644 index 0000000..a07da14 --- /dev/null +++ b/test/functional/body_trackers_controller_test.rb @@ -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