プロジェクト

全般

プロフィール

« | » 

リビジョン 02548925

高徹 高橋 徹 さんが約6年前に追加

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

差分を表示:

app/controllers/glossary_terms_controller.rb
class GlossaryTermsController < ApplicationController
def index
end
end
app/helpers/glossary_terms_helper.rb
module GlossaryTermsHelper
end
app/views/glossary_terms/index.html.erb
<h2>GlossaryTermsController#index</h2>
config/routes.rb
# Plugin's routes
# See: http://guides.rubyonrails.org/routing.html
Rails.application.routes.draw do
resources :glossary_terms, only: [:index]
end
test/functional/glossary_terms_controller_test.rb
require File.expand_path('../../test_helper', __FILE__)
class GlossaryTermsControllerTest < ActionController::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end

他の形式にエクスポート: Unified diff