Skip to content

Instantly share code, notes, and snippets.

aadi-mbp2:website aadid$ pwd
/Users/aadid/website
aadi-mbp2:website aadid$ ls -ld gems/gems/merb-auth-*
drwxr-xr-x 8 aadid staff 272 Sep 16 15:39 gems/gems/merb-auth-core-0.1.0
drwxr-xr-x 8 aadid staff 272 Sep 16 15:43 gems/gems/merb-auth-strategies-0.1.0
aadi-mbp2:website aadid$ thor merb:gems:uninstall merb-auth-strategies --all
Uninstalling merb-auth-strategies...
Failed to uninstall merb-auth-strategies (Gem is not installed in directory /Users/aadid/website/gems)
aadi-mbp2:website aadid$
diff --git a/lib/merb-auth/controller/controller.rb b/lib/merb-auth/controller/controller.rb
index 56db895..b0f3375 100644
--- a/lib/merb-auth/controller/controller.rb
+++ b/lib/merb-auth/controller/controller.rb
@@ -81,9 +81,10 @@ module MerbAuth
# Redirect to the URI stored by the most recent store_location call or
# to the passed default.
- def redirect_back_or_default(default,message = "")
+ def redirect_back_or_default(default,msg = "")