lib/snapuser.rb in snapuser-0.2.0 vs lib/snapuser.rb in snapuser-0.2.1
- old
+ new
@@ -2,8 +2,10 @@
module Snapuser
@@levels = {"superadmin" => "1", "admin" => "2"}
@@superuser_level = 1
@@can_edit = 2
+ @@redirect_url = "/profile"
+ @@layout = "admin"
- mattr_accessor :levels, :can_edit, :superuser_level
+ mattr_accessor :levels, :can_edit, :superuser_level, :redirect_url, :layout
end
\ No newline at end of file