technoweenie / restful-authentication

Generates common user authentication code for Rails/Merb, with a full test/unit and rspec suite and optional Acts as State Machine support built-in.

This URL has Read+Write access

restful-authentication / init.rb
100644 11 lines (9 sloc) 0.201 kb
1
2
3
4
5
6
7
8
9
10
11
%w[
security_components
].each do |f|
  require f
end
 
# make it so we can find stories dir.
# FIXME -- this is crap
require 'pathname'
$REST_AUTH_DIR = Pathname.new(File.dirname(__FILE__)).realpath