preference stuff

This commit is contained in:
Steve Coast 2008-02-23 11:12:42 +00:00
parent e3bd648182
commit e13337354d
8 changed files with 31 additions and 10 deletions

View file

@ -0,0 +1,2 @@
class UserPreferenceController < ApplicationController
end

View file

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

View file

@ -1,3 +1,4 @@
class Notifier < ActionMailer::Base class Notifier < ActionMailer::Base
def signup_confirm(user, token) def signup_confirm(user, token)
recipients user.email recipients user.email

View file

@ -1,6 +1,6 @@
# Configure ActionMailer # Configure ActionMailer
ActionMailer::Base.smtp_settings = { ActionMailer::Base.smtp_settings = {
:address => "localhost", :address => 'localhost',
:port => 25, :port => 25,
:domain => 'localhost', :domain => 'localhost',
} }

View file

@ -1,7 +0,0 @@
class CreateUserPreferences < ActiveRecord::Migration
def self.up
end
def self.down
end
end

7
test/fixtures/user_preferences.yml vendored Normal file
View file

@ -0,0 +1,7 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
# one:
# column: value
#
# two:
# column: value

View file

@ -0,0 +1,8 @@
require File.dirname(__FILE__) + '/../test_helper'
class UserPreferenceControllerTest < ActionController::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end

View file

@ -0,0 +1,8 @@
require File.dirname(__FILE__) + '/../test_helper'
class UserPreferenceTest < ActiveSupport::TestCase
# Replace this with your real tests.
def test_truth
assert true
end
end