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
|
||||
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
|
||||
|
||||
get "core/login"
|
||||
get "core/logout"
|
||||
post "core/authenticate"
|
||||
get "user/login"
|
||||
get "user/logout"
|
||||
post "user/authenticate"
|
||||
|
||||
|
||||
# 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>
|
||||
<% end %>
|
||||
</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="left">
|
||||
<label class="label right"><%= t(:email) %></label>
|
Loading…
Reference in a new issue