[phase-1]can view default index page from Web browser.

This commit is contained in:
TAKAHASHI,Toru 2018-05-01 14:59:20 +09:00
parent 5785342c51
commit 02548925a9
5 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,5 @@
class GlossaryTermsController < ApplicationController
def index
end
end

View File

@ -0,0 +1,2 @@
module GlossaryTermsHelper
end

View File

@ -0,0 +1 @@
<h2>GlossaryTermsController#index</h2>

View File

@ -1,2 +1,6 @@
# Plugin's routes # Plugin's routes
# See: http://guides.rubyonrails.org/routing.html # See: http://guides.rubyonrails.org/routing.html
Rails.application.routes.draw do
resources :glossary_terms, only: [:index]
end

View File

@ -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