lib/outpost/controller/authentication.rb in outpost-cms-0.0.5 vs lib/outpost/controller/authentication.rb in outpost-cms-0.1.0
- old
+ new
@@ -25,10 +25,10 @@
#
# Returns nothing.
def require_login
if !current_user
session[:return_to] = request.fullpath
- redirect_to outpost_login_path and return false
+ redirect_to outpost.login_path and return false
end
end
end # Authentication
end # Controller
end # Outpost