Skip to content

Commit e46ad22

Browse files
committed
1.3.4
1 parent fea01c2 commit e46ad22

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
class ApplicationController < ActionController::Base
22
protect_from_forgery with: :exception
3+
4+
def hello
5+
render html: 'holamunda!'
6+
end
37
end

hello_app/config/routes.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Rails.application.routes.draw do
22
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
3+
root 'application#hello'
34
end

0 commit comments

Comments
 (0)