Commit 76ba878d by Mai Hoang Thai Ha

Finish user signup

parent fc63dcfc
Pipeline #1237 failed with stages
in 0 seconds
...@@ -14,8 +14,12 @@ ...@@ -14,8 +14,12 @@
<body> <body>
<%= render 'layouts/header' %> <%= render 'layouts/header' %>
<div class="container"> <div class="container">
<% flash.each do |message_type, message| %>
<div class="alert alert-<%= message_type %>"><%= message %></div>
<% end %>
<%= yield %> <%= yield %>
<%= render 'layouts/footer' %> <%= render 'layouts/footer' %>
<%= debug(params) if Rails.env.development? %>
</div> </div>
</body> </body>
</html> </html>
......
...@@ -5,4 +5,5 @@ Rails.application.routes.draw do ...@@ -5,4 +5,5 @@ Rails.application.routes.draw do
get '/about', to: 'static_pages#about' get '/about', to: 'static_pages#about'
get '/contact', to: 'static_pages#contact' get '/contact', to: 'static_pages#contact'
get '/signup', to: 'users#new' get '/signup', to: 'users#new'
resources :users
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment