lib/teamster/general_helper.rb in teamster-0.3.1 vs lib/teamster/general_helper.rb in teamster-0.3.2
- old
+ new
@@ -7,9 +7,13 @@
def current_user
session[:current_user]
end
+ def logged_in?
+ !!current_user
+ end
+
def use_included_bootstrap_css?
true
end
def use_included_bootstrap_js?