Installed Devise and created a home controller/route
This commit is contained in:
3
app/assets/javascripts/home.js.coffee
Normal file
3
app/assets/javascripts/home.js.coffee
Normal file
@@ -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://jashkenas.github.com/coffee-script/
|
||||
3
app/assets/stylesheets/home.css.scss
Normal file
3
app/assets/stylesheets/home.css.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
// Place all the styles related to the home controller here.
|
||||
// They will automatically be included in application.css.
|
||||
// You can use Sass (SCSS) here: http://sass-lang.com/
|
||||
9
app/controllers/home_controller.rb
Normal file
9
app/controllers/home_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class HomeController < ApplicationController
|
||||
|
||||
def index
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
2
app/helpers/home_helper.rb
Normal file
2
app/helpers/home_helper.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
module HomeHelper
|
||||
end
|
||||
1
app/views/home/index.html.erb
Normal file
1
app/views/home/index.html.erb
Normal file
@@ -0,0 +1 @@
|
||||
Welcome.
|
||||
Reference in New Issue
Block a user