diff --git a/app/controllers/glossary_terms_controller.rb b/app/controllers/glossary_terms_controller.rb new file mode 100644 index 0000000..8bd0e1c --- /dev/null +++ b/app/controllers/glossary_terms_controller.rb @@ -0,0 +1,5 @@ +class GlossaryTermsController < ApplicationController + + def index + end +end diff --git a/app/helpers/glossary_terms_helper.rb b/app/helpers/glossary_terms_helper.rb new file mode 100644 index 0000000..676b7c3 --- /dev/null +++ b/app/helpers/glossary_terms_helper.rb @@ -0,0 +1,2 @@ +module GlossaryTermsHelper +end diff --git a/app/views/glossary_terms/index.html.erb b/app/views/glossary_terms/index.html.erb new file mode 100644 index 0000000..9b67204 --- /dev/null +++ b/app/views/glossary_terms/index.html.erb @@ -0,0 +1 @@ +

GlossaryTermsController#index

diff --git a/config/routes.rb b/config/routes.rb index 1803173..c08e16f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,2 +1,6 @@ # Plugin's routes # See: http://guides.rubyonrails.org/routing.html + +Rails.application.routes.draw do + resources :glossary_terms, only: [:index] +end diff --git a/test/functional/glossary_terms_controller_test.rb b/test/functional/glossary_terms_controller_test.rb new file mode 100644 index 0000000..263036e --- /dev/null +++ b/test/functional/glossary_terms_controller_test.rb @@ -0,0 +1,8 @@ +require File.expand_path('../../test_helper', __FILE__) + +class GlossaryTermsControllerTest < ActionController::TestCase + # Replace this with your real tests. + def test_truth + assert true + end +end