Skip to content
Snippets Groups Projects
Commit f15c36b0 authored by Mauricio Giacomini Girardello's avatar Mauricio Giacomini Girardello
Browse files

adding welcome controller

parent cf9108cd
No related branches found
No related tags found
No related merge requests found
# 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/
class WelcomeController < ApplicationController
def index
end
end
module WelcomeHelper
end
<h1>Welcome to MEC Portal</h1>
<p>Test text</p>
Rails.application.routes.draw do
root 'welcome#index'
# The priority is based upon order of creation: first created -> highest priority.
# See how all your routes lay out with "rake routes".
......
require 'test_helper'
class WelcomeControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment