change core controller to user

from_scratch
Wojciech Todryk 2011-07-22 21:58:59 +02:00
parent 08dc7ecdd3
commit 5ef1414979
6 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,4 @@
class CoreController < ApplicationController
class UserController < ApplicationController
theme :theme_resolver
layout "simple"

View File

@ -1,2 +0,0 @@
module CoreHelper
end

View File

@ -0,0 +1,2 @@
module UserHelper
end

View File

@ -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:

View File

@ -1,2 +0,0 @@
<h1>Core#logout</h1>
<p>Find me in app/views/core/logout.html.erb</p>

View File

@ -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>