lib/tramway/user.rb in tramway-user-1.1.8 vs lib/tramway/user.rb in tramway-user-2.0
- old
+ new
@@ -1,28 +1,7 @@
require 'tramway/user/engine'
require 'tramway/user/generators/install_generator'
module Tramway
module User
- class << self
- def root
- File.dirname __dir__
- end
-
- def layout_path=(path)
- @layout_path = path
- end
-
- def layout_path
- @layout_path ||= 'tramway/user/application'
- end
-
- def root_path=(path)
- @root_path = path
- end
-
- def root_path
- @root_path || '/'
- end
- end
end
end