app/controllers/alchemy/base_controller.rb in alchemy_cms-4.0.0.rc1 vs app/controllers/alchemy/base_controller.rb in alchemy_cms-4.0.0.rc2
- old
+ new
@@ -31,15 +31,9 @@
def not_found_error!(msg = "Not found \"#{request.fullpath}\"")
raise ActionController::RoutingError, msg
end
- # Shortcut for Alchemy::I18n.translate method
- def _t(key, *args)
- ActiveSupport::Deprecation.warn("Alchemys `_t` method is deprecated! Use `Alchemy.t` instead.", caller.unshift)
- Alchemy.t(key, *args)
- end
-
# Store current request path into session,
# so we can later redirect to it.
def store_location
session[:redirect_path] = request.path
end