@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
// Place all the styles related to the welcome controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
@ -0,0 +1,4 @@
class WelcomeController < ApplicationController
def index
end
@ -0,0 +1,2 @@
module WelcomeHelper
<h1>Welcome#index</h1>
<p>Find me in app/views/welcome/index.html.erb</p>
@ -1,4 +1,6 @@
Rails.application.routes.draw do
get 'welcome/index'
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
@ -0,0 +1,9 @@
require 'test_helper'
class WelcomeControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success