update authentication system to Devise

This commit is contained in:
Lee Lawlor
2014-03-13 19:16:35 -04:00
parent 4c9886612f
commit 774543e678
78 changed files with 1257 additions and 385 deletions

View File

@ -1,6 +1,9 @@
Thingspeak::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb
# required by devise
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the webserver when you make code changes.

View File

@ -1,6 +1,9 @@
Thingspeak::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb
# required by devise
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true
@ -62,3 +65,4 @@ Thingspeak::Application.configure do
config.assets.js_compressor = :uglifier
config.assets.css_compressor = :scss
end

View File

@ -1,6 +1,9 @@
Thingspeak::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb
# required by devise
config.action_mailer.default_url_options = { :host => 'localhost:3000' }
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suite and is wiped