change core controller to user
This commit is contained in:
parent
08dc7ecdd3
commit
5ef1414979
|
@ -1,4 +1,4 @@
|
||||||
class CoreController < ApplicationController
|
class UserController < ApplicationController
|
||||||
|
|
||||||
theme :theme_resolver
|
theme :theme_resolver
|
||||||
layout "simple"
|
layout "simple"
|
|
@ -1,2 +0,0 @@
|
||||||
module CoreHelper
|
|
||||||
end
|
|
2
app/helpers/user_helper.rb
Normal file
2
app/helpers/user_helper.rb
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
module UserHelper
|
||||||
|
end
|
|
@ -2,9 +2,9 @@ Mailr::Application.routes.draw do
|
||||||
|
|
||||||
themes_for_rails
|
themes_for_rails
|
||||||
|
|
||||||
get "core/login"
|
get "user/login"
|
||||||
get "core/logout"
|
get "user/logout"
|
||||||
post "core/authenticate"
|
post "user/authenticate"
|
||||||
|
|
||||||
|
|
||||||
# The priority is based upon order of creation:
|
# The priority is based upon order of creation:
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
<h1>Core#logout</h1>
|
|
||||||
<p>Find me in app/views/core/logout.html.erb</p>
|
|
|
@ -11,7 +11,7 @@
|
||||||
<div class="message notice"><p><%= flash[:notice] %></p></div>
|
<div class="message notice"><p><%= flash[:notice] %></p></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<form action="<%=url_for(:controller => 'core', :action => 'authenticate')%>" method="post" class="form login">
|
<form action="<%=url_for(:controller => 'user', :action => 'authenticate')%>" method="post" class="form login">
|
||||||
<div class="group wat-cf">
|
<div class="group wat-cf">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<label class="label right"><%= t(:email) %></label>
|
<label class="label right"><%= t(:email) %></label>
|
Loading…
Reference in a new issue