app/controllers/concerns/error_methods.rb
def unauthorized

    render_error( :unauthorized )

  end
# Utility function to return a 401 header
Utility function to return a 401 header
Utility function to return a 401 header
def unauthorized
    render_error( :unauthorized )
  end
def unauthorized render_error ( :unauthorized ) end
Utility function to return a 401 header
Utility function to return a 401 header